Skip to content
Snippets Groups Projects
Commit cb271a5e authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Added backend test in CI

parent e6e3e0ae
No related branches found
No related tags found
No related merge requests found
Pipeline #761 passed
...@@ -2,7 +2,19 @@ stages: ...@@ -2,7 +2,19 @@ stages:
- test - test
- dockerize - dockerize
deploy: test_backend:
stage: test
tags:
- docker
script:
- cd vospace-ui-backend
- 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
dockerize:
stage: dockerize stage: dockerize
tags: tags:
- shell - shell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment