]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix for GitLab 15.0: cobertura replaced by coverage_report
authorMark Andrews <marka@isc.org>
Mon, 4 Jul 2022 03:32:01 +0000 (13:32 +1000)
committerTom Krizek <tkrizek@isc.org>
Wed, 26 Jul 2023 14:48:40 +0000 (16:48 +0200)
   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

index 63fabd60de6272b26513751581e5dfffa68c7856..9c89a0108f741081f419762147e1020876adbbee 100644 (file)
@@ -1646,7 +1646,9 @@ gcov:
       - coverage.txt
       - coverage.xml
     reports:
-      cobertura: coverage.xml
+      coverage_report:
+        coverage_format: cobertura
+        path: coverage.xml
 
 # Pairwise testing of ./configure options