Commit 0e1e4d8a authored by Jutta Schnabel's avatar Jutta Schnabel

coverage left for later

parent daf238c5
Pipeline #15068 passed with stages
in 2 minutes and 56 seconds
......@@ -20,7 +20,7 @@ cache:
stages:
- test
- coverage
#- coverage
- doc
- release
......@@ -78,19 +78,19 @@ code-style:
- yapf -r -d -e "venv" .
allow_failure: true
coverage:
image: docker.km3net.de/base/python:3.8
stage: coverage
script:
- *virtualenv_definition
- make install-dev
- "make test-cov|grep TOTAL| awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'"
coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/'
# - make test-cov
# coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
artifacts:
paths:
- reports/coverage
#coverage:
#image: docker.km3net.de/base/python:3.8
#stage: coverage
#script:
#- *virtualenv_definition
#- make install-dev
#- "make test-cov|grep TOTAL| awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'"
#coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/'
## - make test-cov
## coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
#artifacts:
#paths:
#- reports/coverage
build-docs:
......@@ -108,7 +108,7 @@ pages:
- *virtualenv_definition
- cd docs && make clean && make html
- mv _build/html ../public/
- cd .. && mv reports/coverage public/coverage
#- cd .. && mv reports/coverage public/coverage
artifacts:
paths:
- public
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment