Update .gitlab-ci.yml
This commit is contained in:
parent
d1ed80e789
commit
04c43fc74c
@ -36,7 +36,7 @@ test_job:
|
|||||||
- build_job
|
- build_job
|
||||||
script:
|
script:
|
||||||
- mvn $MAVEN_CLI_OPTS test
|
- mvn $MAVEN_CLI_OPTS test
|
||||||
- mkdir -p target/site/cobertura && ./cover2cover.py target/site/jacoco/jacoco.xml src/io/scenarium/logger/ > target/site/cobertura/coverage.xml
|
- mkdir -p target/site/cobertura && /usr/bin/ppython3 ./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
|
- 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:
|
artifacts:
|
||||||
when: on_success
|
when: on_success
|
||||||
|
Loading…
x
Reference in New Issue
Block a user