]> 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:15:53 +0000 (07:15 +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 9cdffc67664a64aa8b4238f5ac1c8a2f1c929199..e685f02b84a24aee345cc5e6ef338642f144b9b9 100644 (file)
@@ -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