From 04c43fc74cc8375c4ed995b90f75f9daf2993d09 Mon Sep 17 00:00:00 2001 From: Heero Yui Date: Fri, 28 Aug 2020 17:32:45 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a48233..ae4e83a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ test_job: - build_job script: - 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 artifacts: when: on_success