Skip to content
Snippets Groups Projects
Commit f21c4c6c authored by Rick Carback's avatar Rick Carback
Browse files

Fix typo on coverage report

parent 559f9613
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ test:
# - go tool pprof -png udb.test testdata/realtime.mem > testdata/realtime-mem.png
# Test Coverage Check
- go tool cover -func=testdata/coverage-real.out | grep "total:" | awk '{print $3}' | sed 's/\%//g' > testdata/coverage-percentage.txt
- go tool cover -func=testdata/coverage.out | grep "total:" | awk '{print $3}' | sed 's/\%//g' > testdata/coverage-percentage.txt
- export CODE_CHECK=$(echo "$(cat testdata/coverage-percentage.txt) >= $MIN_CODE_COVERAGE" | bc -l)
- (if [ "$CODE_CHECK" == "1" ]; then echo "Minimum coverage of $MIN_CODE_COVERAGE succeeded"; else echo "Minimum coverage of $MIN_CODE_COVERAGE failed"; exit 1; fi);
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment