Update .gitlab-ci.yml

This commit is contained in:
Heero Yui 2020-08-28 17:37:51 +00:00
parent 04c43fc74c
commit d231acb727

View File

@ -36,7 +36,7 @@ test_job:
- build_job
script:
- mvn $MAVEN_CLI_OPTS test
- mkdir -p target/site/cobertura && /usr/bin/ppython3 ./cover2cover.py target/site/jacoco/jacoco.xml src/io/scenarium/logger/ > target/site/cobertura/coverage.xml
- mkdir -p target/site/cobertura && /usr/bin/python3 ./cover2cover.py target/site/jacoco/jacoco.xml src/io/scenarium/logger/ > target/site/cobertura/coverage.xml
- awk -F, '{ instructions += $4 + $5; covered += $5 } END { print "===============================================\n== Coverage Results:\n==\n== ", covered, " / ", instructions, " instructions covered"; print "== ", 100*covered/instructions, "% covered\n==\n===============================================" }' target/site/jacoco/jacoco.csv
artifacts:
when: on_success