GITLAB_CI: Add coverage highlighting

Signed-off-by: Taylor Smock <tsmock@fb.com>
pull/1/head
Taylor Smock 2020-11-23 12:30:26 -07:00
rodzic fdbc7d5191
commit f53c8220c4
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -134,6 +134,16 @@ test:
junit: build/test-results/**/TEST-*.xml
needs: ["assemble"]
coverage:
stage: deploy
needs: ["test"]
image: haynes/jacoco2cobertura:1.0.3
script:
- 'python /opt/cover2cover.py build/reports/jacoco/test/jacocoTestReport.xml src/main/java > build/reports/jacoco/test/coverage.xml'
artifacts:
reports:
cobertura: "build/reports/jacoco/test/coverage.xml"
compile against min JOSM:
stage: test
script: