Update coverage regex

This commit is contained in:
Oystein Kristoffer Tveit 2021-02-24 00:13:23 +01:00
parent eafbd2e023
commit a3435e6138

View File

@ -52,6 +52,8 @@ generate-coverage:
stage: coverage stage: coverage
script: script:
- 'mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report' - 'mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report'
- 'cat target/site/jacoco/index.html'
coverage: '/Total.*?([0-9]{1,3})%/'
artifacts: artifacts:
paths: paths:
- target/site/ - target/site/