Skip to content
Snippets Groups Projects

Code coverage

Merged Piotr Gawron requested to merge code-coverage into master
2 files
+ 21
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
0
@@ -21,6 +21,7 @@ test_frontend:
test_backend 1 15:
image: maven:3.6.0-jdk-8
stage: test
coverage: '/(\d+.\d+) \% covered/'
script:
#xvfb is for X11 connection used by some parts of the java code: https://stackoverflow.com/a/47575851/1127920
- apt-get update
@@ -30,6 +31,7 @@ test_backend 1 15:
- mvn -DskipTests=true clean install -pl commons -am
- mvn test -pl commons
- awk -F"," '{ instructions += $4 + $5; covered += $5 } END { print covered, "/", instructions, "instructions covered"; print 100*covered/instructions,"% covered" }' target/site/jacoco/jacoco.csv
test_backend 2 15:
image: maven:3.6.0-jdk-8
Loading