diff --git a/.drone.yml b/.drone.yml index 43ea42ef3..904fcd816 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Makefile b/Makefile index 2b14c1725..60cbd8221 100644 --- a/Makefile +++ b/Makefile @@ -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/...