mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
CI: print test coverage
This commit is contained in:
parent
164c04eeb3
commit
3875e594b1
@ -3,6 +3,7 @@ build:
|
||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check
|
||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp test
|
||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp cobertura:cobertura
|
||||
- head target/site/cobertura/coverage.xml | rg --only-matching -r '$1' 'line-rate="([0-9.]+)"' | awk '{ print "Test Coverage: " $1 * 100 "%" }'
|
||||
artifacts:
|
||||
reports:
|
||||
cobertura: target/site/cobertura/coverage.xml
|
||||
|
Loading…
Reference in New Issue
Block a user