1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

.gitlab-ci.yml: Return code coverage reporting for "none" tasks

This was lost early on with 54f26cfcf2
which did not take into account code coverage, which stopped running
for these tasks very early on with
71595201be.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2021-04-19 21:09:03 +12:00
parent 742ae6172f
commit 836ad93795

View File

@ -433,6 +433,7 @@ pages:
- samba-fips - samba-fips
- samba-no-opath1 - samba-no-opath1
- samba-no-opath2 - samba-no-opath2
- ubuntu1804-samba-o3
script: script:
- ls -la *.info - ls -la *.info
- ./configure.developer - ./configure.developer
@ -486,6 +487,15 @@ coverity:
# We build samba-o3 on all supported distributions # 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: .samba-o3-template:
extends: .shared_template extends: .shared_template
variables: variables:
@ -495,11 +505,6 @@ coverity:
# do not run o3 for coverage since they are using different images # do not run o3 for coverage since they are using different images
- $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == "" - $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: ubuntu2004-samba-o3:
extends: .samba-o3-template extends: .samba-o3-template
variables: variables: