Skip to content
Snippets Groups Projects
Commit c9c67949 authored by Martin Bergemann's avatar Martin Bergemann :speech_balloon:
Browse files

Tesing

parent ceeb27c7
No related branches found
No related tags found
1 merge request!7Test coverage
Pipeline #19341 passed
...@@ -57,10 +57,10 @@ pages: ...@@ -57,10 +57,10 @@ pages:
- conda create -c conda-forge -q -p /tmp/test python=3.10 pip dask -y - conda create -c conda-forge -q -p /tmp/test python=3.10 pip dask -y
- /tmp/test/bin/python -m pip install -e .[test] - /tmp/test/bin/python -m pip install -e .[test]
script: script:
- coverage run -m pytest - /tmp/test/bin/coverage run -m pytest
- coverage report - /tmp/test/bin/coverage report
- coverage html - /tmp/test/bin/coverage html
- coverage xml - /tmp/test/bin/coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
after_script: after_script:
- mv htmlcov public - mv htmlcov public
...@@ -69,6 +69,4 @@ pages: ...@@ -69,6 +69,4 @@ pages:
paths: paths:
- public/ - public/
reports: reports:
coverage_report: junit: coverage.xml
coverage_format: cobertura
path: coverage.xml
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