Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 549d382d authored by Agni's avatar Agni
Browse files

Update .gitlab-ci.yml

parent e8ed1407
No related branches found
No related tags found
2 merge requests!185Develop,!132Task/ui info matkul
Pipeline #
...@@ -11,6 +11,10 @@ unitTests: ...@@ -11,6 +11,10 @@ unitTests:
stage: test stage: test
script: script:
- ./gradlew testDebugUnitTestCoverage - ./gradlew testDebugUnitTestCoverage
- echo y | apt-get install libxml2-utils
- "COVERAGE=$(xmllint --html --xpath '//table[@id=\"coveragetable\"]/tfoot//td[@class=\"ctr2\"][1]/text()' app/build/reports/jacoco/index.html)"
- 'echo "Coverage: $COVERAGE"'
artifacts: artifacts:
paths: paths:
- app/build/reports - app/build/reports
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment