diff --git a/Makefile b/Makefile index 00660b0..be9df46 100644 --- a/Makefile +++ b/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