]> 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)
committerPetr Špaček <pspacek@isc.org>
Mon, 4 Jul 2022 05:11:14 +0000 (07:11 +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 1161db7127f0d014416b1053632e97dbf40b6ba3..749e861b78e919f0ec86c33e88343fe0c8ff758f 100644 (file)
@@ -1456,7 +1456,9 @@ gcov:
       - coverage.txt
       - coverage.xml
     reports:
-      cobertura: coverage.xml
+      coverage_report:
+        coverage_format: cobertura
+        path: coverage.xml
 
 # Pairwise testing of ./configure options