Fix YAML syntax

This commit is contained in:
Arne Keller 2021-01-28 10:47:50 +01:00
parent 3875e594b1
commit 4f71094515

View File

@ -3,7 +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 "%" }'
- "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