Skip to content
Snippets Groups Projects
Commit 7a39b1e1 authored by Lukas Hennig's avatar Lukas Hennig
Browse files

added python3.7 coverage

parent 8e063bc3
No related branches found
No related tags found
1 merge request!36Add python 3.7 test and coverage
...@@ -44,15 +44,20 @@ test: ...@@ -44,15 +44,20 @@ test:
- PYTHON_VERSION: "3.7" - PYTHON_VERSION: "3.7"
coverage: coverage:
image: docker.km3net.de/base/python:3.6 image: docker.km3net.de/base/python:$PYTHON_VERSION
stage: coverage stage: coverage
script: script:
- *virtualenv_definition - mkdir -p reports
- "make test-cov|grep TOTAL| awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'" - *virtualenv_definition
coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/' - "make test-cov | grep TOTAL | awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'"
artifacts: coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/'
paths: parallel:
- reports/coverage matrix:
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "3.7"
artifacts:
paths:
- reports/coverage
pages: pages:
......
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