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

Upate pipeline for test coverage

parent ce4590f1
No related branches found
No related tags found
1 merge request!7Test coverage
Pipeline #19337 failed
...@@ -63,16 +63,26 @@ test_latest: ...@@ -63,16 +63,26 @@ test_latest:
- coverage_report - coverage_report
- report.xml - report.xml
pages: pages:
<< : *py_test
stage: report stage: report
tags: before_script:
- conda - conda create -c conda-forge -q -p /tmp/test python=3.10 pip dask -y
- /tmp/test/bin/python -m pip install -e .[test]
script:
- coverage run -m pytest
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
dependencies: dependencies:
- test_latest - test_latest
script: after_script:
- mv coverage_report public/ - mv coverage_report public/
artifacts: artifacts:
when: always when: always
paths: paths:
- public/ - public/
reports: reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
junit: report.xml junit: report.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