From 5a3bc0af23e1df1d9ca1b88db36d4e9b9906555f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 6 May 2022 07:38:51 -0700 Subject: [PATCH] CI: attempt to fix Gitlab 'cobertura' removal MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The `cobertura` keyword was deprecated in March¹ and then completely removed on 2022-05-05,² causing all CI pipelines to now fail. This is an attempt to migrate to the new syntax. More details in https://gitlab.com/gitlab-org/gitlab/-/issues/361615. Gitlab: Fixes #2236 ¹ https://gitlab.com/gitlab-org/gitlab/-/commit/eae7dfc843783e270607d71c6db0c1ab6a52a8d1 ² https://gitlab.com/gitlab-org/gitlab/-/commit/812408bafae328b81652110fc53c6c6b89e3db81#62c40d79aabcb1ce977904c9c748b08045ff0a85 --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9dbb2c95..b36cddea4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -240,7 +240,9 @@ portable-source: - coverage/** reports: junit: [./report.xml, build/tests/test_*.xml] - cobertura: coverage.xml + coverage_report: + coverage_format: cobertura + path: coverage.xml except: - tags -- 2.40.0