kopia lustrzana https://github.com/JOSM/MapWithAI
GITLAB_CI: Add coverage highlighting
Signed-off-by: Taylor Smock <tsmock@fb.com>pull/1/head
rodzic
fdbc7d5191
commit
f53c8220c4
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue