]> git.ipfire.org Git - thirdparty/bind9.git/commit
Extract test coverage statistics from the gcov job
authorMark Andrews <marka@isc.org>
Thu, 23 Feb 2023 22:39:34 +0000 (09:39 +1100)
committerMark Andrews <marka@isc.org>
Tue, 28 Feb 2023 22:23:13 +0000 (22:23 +0000)
commitdb7af9fcc1c91c3290982b555bdf1c55f6a73d66
treeb4a1d0fc31fed0e7b680ef3e8ee14d03ea15f29e
parentbf2a1b1ca0837a9907651acf1051e100e8bdd410
Extract test coverage statistics from the gcov job

In older GitLab versions, the regular expression used for extracting
test coverage statistics from the output of GitLab CI jobs was
configured in the project's settings, using GitLab's web interface.
That changed in recent GitLab versions [1]; the previous configuration
method was removed from the web interface altogether as of GitLab 15.0.
The relevant regular expression is now supposed to be set in the
relevant job's definition in .gitlab-ci.yml.

Set the regular expression used for extracting test coverage
statistics in the definition of the "gcov" GitLab CI job.  Use the
regular expression suggested in GitLab's documentation [2].

[1] https://docs.gitlab.com/ee/update/deprecations.html#test-coverage-project-cicd-setting
[2] https://docs.gitlab.com/ee/ci/pipelines/settings.html#test-coverage-examples
.gitlab-ci.yml