From 6df565e8229726ea317565f7e873936786b5598d Mon Sep 17 00:00:00 2001 From: Daniel Scheffler <danschef@gfz-potsdam.de> Date: Wed, 20 Jul 2022 14:04:15 +0200 Subject: [PATCH] Adapt .gitlab-ci.yml to be compatible with GitLab >=15.0. Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de> --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ea9c32..e67ce2d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ stages: test_spechomo: stage: test + coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/' script: - source /root/mambaforge/bin/activate ci_env @@ -24,7 +25,9 @@ test_spechomo: - report.html - docs/_build/html/ reports: - cobertura: coverage.xml + coverage_report: + coverage_format: cobertura + path: coverage.xml junit: report.xml expire_in: 30 days -- GitLab