Skip to content
Snippets Groups Projects
Commit 036cb99a authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Upload cobertura report to Gitlab as well

parent 4657e278
1 merge request!205Display pytest results in Gitlab
Pipeline #29614 passed with warnings with stage
in 14 minutes and 20 seconds
...@@ -20,6 +20,7 @@ tests-and-coverage: ...@@ -20,6 +20,7 @@ tests-and-coverage:
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc - echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- mkdir public - mkdir public
- py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun" --html test-report/index.html --junitxml=report.xml - py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun" --html test-report/index.html --junitxml=report.xml
- python3 -m coverage xml
tags: tags:
- docker - docker
- cuda11 - cuda11
...@@ -30,6 +31,7 @@ tests-and-coverage: ...@@ -30,6 +31,7 @@ tests-and-coverage:
- coverage_report - coverage_report
- test-report - test-report
reports: reports:
cobertura: coverage.xml
junit: report.xml junit: report.xml
# Nightly test - runs "long run" jobs only # Nightly test - runs "long run" jobs only
......
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