diff options
author | Andrew Bartlett <abartlet@samba.org> | 2021-04-19 21:09:03 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2021-04-28 03:43:34 +0000 |
commit | 836ad93795c5719622d69971d657fa57dca9f1b9 (patch) | |
tree | 3e500e3c0db2b664629996cb17688dbc245f2069 /.gitlab-ci-main.yml | |
parent | 742ae6172f82c7d77080bfda58fde33303bb5759 (diff) | |
download | samba-836ad93795c5719622d69971d657fa57dca9f1b9.tar.gz |
.gitlab-ci.yml: Return code coverage reporting for "none" tasks
This was lost early on with 54f26cfcf2587a2b1d97f466a886fa89a116eea1
which did not take into account code coverage, which stopped running
for these tasks very early on with
71595201bea9b3fa28357065fa137806f9220f38.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to '.gitlab-ci-main.yml')
-rw-r--r-- | .gitlab-ci-main.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.gitlab-ci-main.yml b/.gitlab-ci-main.yml index f5271662915..757c6824b97 100644 --- a/.gitlab-ci-main.yml +++ b/.gitlab-ci-main.yml @@ -433,6 +433,7 @@ pages: - samba-fips - samba-no-opath1 - samba-no-opath2 + - ubuntu1804-samba-o3 script: - ls -la *.info - ./configure.developer @@ -486,6 +487,15 @@ coverity: # We build samba-o3 on all supported distributions # +# This job, which matches the main CI, needs to still do coverage so +# we show the coverage on the "none" environment tests +ubuntu1804-samba-o3: + extends: .shared_template + variables: + AUTOBUILD_JOB_NAME: samba-o3 + SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_ubuntu1804} + +# All other jobs do not want code coverage. .samba-o3-template: extends: .shared_template variables: @@ -495,11 +505,6 @@ coverity: # do not run o3 for coverage since they are using different images - $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == "" -ubuntu1804-samba-o3: - extends: .samba-o3-template - variables: - SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_ubuntu1804} - ubuntu2004-samba-o3: extends: .samba-o3-template variables: |