mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Add codecov badge and remove -race from test-coverage target #58
This commit is contained in:
parent
a3167cc0ec
commit
64371e4e86
2 changed files with 10 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -37,9 +37,13 @@ start:
|
|||
migrate:
|
||||
$(GORUN) cmd/photoprism/photoprism.go migrate
|
||||
test:
|
||||
$(GOTEST) -timeout 30m -v ./internal/...
|
||||
$(GOTEST) -timeout 20m -v ./internal/...
|
||||
test-race:
|
||||
$(GOTEST) -race -timeout 60m -v ./internal/...
|
||||
test-coverage:
|
||||
$(GOTEST) -timeout 30m -race -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
$(GOTEST) -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
test-coverage-html:
|
||||
$(GOTEST) -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
$(GOTOOL) cover -html=coverage.txt -o coverage.html
|
||||
clean:
|
||||
$(GOCLEAN)
|
||||
|
|
|
|||
|
|
@ -2,12 +2,14 @@ PhotoPrism: Browse your life in pictures
|
|||
========================================
|
||||
|
||||
[][license]
|
||||
[][code quality]
|
||||
[][quality]
|
||||
[][coverage]
|
||||
[][ci]
|
||||
[][docs]
|
||||
|
||||
[license]: https://github.com/photoprism/photoprism/blob/develop/LICENSE
|
||||
[code quality]: https://goreportcard.com/report/github.com/photoprism/photoprism
|
||||
[quality]: https://goreportcard.com/report/github.com/photoprism/photoprism
|
||||
[coverage]: https://codecov.io/gh/photoprism/photoprism
|
||||
[ci]: https://travis-ci.org/photoprism/photoprism
|
||||
[docs]: https://docs.photoprism.org/en/latest/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue