File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ coverage: $(COVERAGE_BINARIES) $(TEST_PAYLOAD)
7575 test/phaul/phaul.coverage -test.coverprofile=coverprofile.integration.$$ RANDOM -test.outputdir=${COVERAGE_PATH} COVERAGE $$ PID; \
7676 pkill -9 piggie; \
7777 }
78+ echo " mode: set" > .coverage/coverage.out && cat .coverage/coverprofile* | \
79+ grep -v mode: | sort -r | awk ' {if($$1 != last) {print $$0;last=$$1}}' >> .coverage/coverage.out
7880
7981clean :
8082 @rm -f $(TEST_BINARIES ) $(COVERAGE_BINARIES ) codecov
@@ -100,6 +102,6 @@ vendor:
100102codecov :
101103 curl -Os https://uploader.codecov.io/latest/linux/codecov
102104 chmod +x codecov
103- ./codecov -f ' .coverage/* '
105+ ./codecov -f ' .coverage/coverage.out '
104106
105107.PHONY : build test phaul-test test-bin clean lint vendor coverage codecov
You can’t perform that action at this time.
0 commit comments