Skip to content
Snippets Groups Projects
Commit c94772be authored by Bruno Burke's avatar Bruno Burke :hamburger:
Browse files

add code coverage

parent 0d3a5278
No related branches found
No related tags found
1 merge request!1Draft: Migration
Pipeline #95827 failed
......@@ -6,6 +6,7 @@ services:
stages:
- build
- test
- visualize
- deploy
variables:
......@@ -29,6 +30,23 @@ test1:
stage: test
script:
- lein test
- lein cloverage --lcov
artifacts:
paths:
- target/coverage/lcov.info
coverage-jdk11:
stage: visualize
image: python:3-slim
script:
- curl https://raw.githubusercontent.com/eriwen/lcov-to-cobertura-xml/master/lcov_cobertura/lcov_cobertura.py > lcov2cobertura.py
- python lcov2cobertura.py target/coverage/lcov.info
needs: ["test1"]
artifacts:
reports:
cobertura: ./coverage.xml
deploy:
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment