ci: report test coverage
This commit is contained in:
parent
cde8a61ff0
commit
706f7c84f3
3
Makefile
3
Makefile
|
|
@ -38,4 +38,5 @@ test: build
|
|||
ci-test:
|
||||
./scripts/prepare_test_repos.sh $(TMP_DIR)
|
||||
./scripts/run_foreach_test_repos.sh $(TMP_DIR) "sed -i '2i \ \ \"sandboxExecServer\": \"172.17.0.1:5051\",' conf.json"
|
||||
GITHUB_ACTOR="" go test -count=1 -v ./...
|
||||
GITHUB_ACTOR="" go test -count=1 -v -coverpkg=./... -coverprofile=$(COVERAGE_FILE) ./...
|
||||
go tool cover -func=$(COVERAGE_FILE) | tail -n 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user