Skip to content
Snippets Groups Projects
Commit eda91878 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

Update .gitlab-ci.yml

parent 5a2a235b
No related branches found
No related tags found
No related merge requests found
Pipeline #15569 passed
...@@ -33,6 +33,17 @@ build-test: ...@@ -33,6 +33,17 @@ build-test:
only: only:
- test - test
test:
stage: test
tags:
- docker
script:
- mvn clean test
- awk -F"," '{ instructions += $4 + $5; covered += $5 } END { print "coverage=" 100*covered/instructions }' target/site/jacoco/jacoco.csv
coverage: '/coverage=\d+\.\d+/'
only:
- master
test-test: test-test:
stage: test stage: test
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment