From 0a33ca7198580b411d44b775395f004cdf9f7931 Mon Sep 17 00:00:00 2001 From: "E. Joshua Rigler" <erigler@usgs.gov> Date: Fri, 27 May 2022 13:41:46 -0600 Subject: [PATCH] Tweak .gitlab-ci.yml for new Gitlab requirment Gitlab 15 requires slightly different configuration to generate Cobertura coverage reports. See: https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportscoverage_report --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9d27295..c7e28786 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -153,7 +153,9 @@ Python Lint: Python Test: artifacts: reports: - cobertura: coverage.xml + coverage_report: + coverage_format: cobertura + path: coverage.xml junit: junit.xml needs: - Poetry -- GitLab