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

Merge branch 'test-python-3.7' into 'master'

Add python 3.7 test and coverage

See merge request !36
parents 4bb45850 83c8dc4c
No related branches found
No related tags found
1 merge request!36Add python 3.7 test and coverage
......@@ -32,24 +32,31 @@ cache:
make install-dev
test:
image: docker.km3net.de/base/python:3.6
stage: test
script:
- *virtualenv_definition
- pip list
- make test
image: docker.km3net.de/base/python:$PYTHON_VERSION
stage: test
script:
- *virtualenv_definition
- pip list
- make test
parallel:
matrix:
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "3.7"
coverage:
image: docker.km3net.de/base/python:3.6
stage: coverage
script:
- *virtualenv_definition
- "make test-cov|grep TOTAL| awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'"
coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/'
artifacts:
paths:
- reports/coverage
image: docker.km3net.de/base/python:$PYTHON_VERSION
stage: coverage
script:
- *virtualenv_definition
- "make test-cov | grep TOTAL | awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'"
coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/'
parallel:
matrix:
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "3.7"
artifacts:
paths:
- reports/coverage
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