fix: Improve code coverage reporting in codecov (#2715)

* fix: Remove explicit coverpkg github.com/coder/coder/codersdk

This package is already covered by ./...

* fix: Ignore test utils in coverage (clitest, coderdtest, ptytest)
This commit is contained in:
Mathias Fredriksson
2022-07-25 19:55:19 +03:00
committed by GitHub
parent 6c5a142674
commit d7dee2c069
5 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ test: test-clean
test-postgres: test-clean test-postgres-docker
DB=ci DB_FROM=$(shell go run scripts/migrate-ci/main.go) gotestsum --junitfile="gotests.xml" --packages="./..." -- \
-covermode=atomic -coverprofile="gotests.coverage" -timeout=20m \
-coverpkg=./...,github.com/coder/coder/codersdk \
-coverpkg=./... \
-count=1 -race -failfast
.PHONY: test-postgres