From 7680a12431b50e767e7af3cd4165acb04736d475 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 4 Jul 2022 13:32:01 +1000 Subject: [PATCH] Fix for GitLab 15.0: cobertura replaced by coverage_report From Gitlab 15.0 release notes: artifacts:reports:cobertura keyword As of GitLab 15.0, the artifacts:reports:cobertura keyword has been replaced by artifacts:reports:coverage_report. Cobertura is the only supported report file, but this is the first step towards GitLab supporting other report types. (cherry picked from commit 008032d268bd0fb4cb92897cdaefd6f6d2de9096) --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9cdffc6766..e685f02b84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1549,7 +1549,9 @@ gcov: - coverage.txt - coverage.xml reports: - cobertura: coverage.xml + coverage_report: + coverage_format: cobertura + path: coverage.xml # Pairwise testing of ./configure options