From 2b7c6cb6adb5a37ca56321922d2f7552fc0b6b39 Mon Sep 17 00:00:00 2001 From: Michael Kuron <m.kuron@gmx.de> Date: Sat, 18 May 2024 09:48:16 +0200 Subject: [PATCH] Upload coverage reports from multiarch CI jobs --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d8a1c13f..f71c6d203 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -149,13 +149,19 @@ ubuntu: - sed -i 's/--doctest-modules //g' pytest.ini - env - pip3 list - - python3 -m pytest -v -n $NUM_CORES --junitxml=report.xml tests/test_*vec*.py tests/test_random.py tests/test_half_precision.py + - python3 -m pytest -v -n $NUM_CORES --cov-report html --cov-report xml --cov=. --junitxml=report.xml tests/test_*vec*.py tests/test_random.py tests/test_half_precision.py + - python3 -m coverage xml tags: - docker - AVX artifacts: when: always + paths: + - coverage_report reports: + coverage_report: + coverage_format: cobertura + path: coverage.xml junit: report.xml arm64v8: -- GitLab