CI: Run scripts/codecov.sh in container again (volume not mounted)

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-08-14 13:50:26 +02:00
parent 5595fb0744
commit 9eef9d1abd
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ steps:
from_secret: codecov_token
commands:
- docker-compose -f docker-compose.drone.yml exec -T photoprism make all test-js test-codecov install migrate
- scripts/codecov.sh
when:
branch:
- develop

View File

@ -134,6 +134,7 @@ test-race:
test-codecov:
$(info Running all Go unit tests with code coverage report for codecov...)
go test -parallel 1 -count 1 -cpu 1 -failfast -tags slow -timeout 30m -coverprofile coverage.txt -covermode atomic ./pkg/... ./internal/...
scripts/codecov.sh
test-coverage:
$(info Running all Go unit tests with code coverage report...)
go test -parallel 1 -count 1 -cpu 1 -failfast -tags slow -timeout 30m -coverprofile coverage.txt -covermode atomic ./pkg/... ./internal/...