mirror of https://github.com/zlatinb/muwire
try to integrate coverage reports with gitlab
parent
6d89d6f36a
commit
f4bdafa4de
|
@ -7,6 +7,11 @@
|
||||||
# https://gradle.org/
|
# https://gradle.org/
|
||||||
# https://github.com/gradle/gradle
|
# https://github.com/gradle/gradle
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
- visualize
|
||||||
|
|
||||||
image: gradle:alpine
|
image: gradle:alpine
|
||||||
|
|
||||||
# Disable the Gradle daemon for Continuous Integration servers as correctness
|
# Disable the Gradle daemon for Continuous Integration servers as correctness
|
||||||
|
@ -39,3 +44,12 @@ test:
|
||||||
- build
|
- build
|
||||||
- .gradle
|
- .gradle
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
stage: visualize
|
||||||
|
image: haynes/jacoco2cobertura:1.0.7
|
||||||
|
script:
|
||||||
|
- 'python /opt/cover2cover.py core/build/reports/jacoco/test/jacocoTestReport.xml $CI_PROJECT_DIR/core/src > core/build/reports/coberturaTesTReport.xml'
|
||||||
|
needs: ["test"]
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
cobertura: core/build/reports/coberturaTesTReport.xml
|
||||||
|
|
Loading…
Reference in New Issue