mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Add test-codecov to Makefile and travis.yml #58
This commit is contained in:
parent
ebaa3d3622
commit
810d8a7bb5
2 changed files with 6 additions and 8 deletions
5
Makefile
5
Makefile
|
|
@ -40,9 +40,10 @@ test:
|
|||
$(GOTEST) -timeout 20m -v ./internal/...
|
||||
test-race:
|
||||
$(GOTEST) -race -timeout 60m -v ./internal/...
|
||||
test-coverage:
|
||||
test-codecov:
|
||||
$(GOTEST) -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
test-coverage-html:
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
test-coverage:
|
||||
$(GOTEST) -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
$(GOTOOL) cover -html=coverage.txt -o coverage.html
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue