diff options
author | Andrew Bartlett <abartlet@samba.org> | 2021-09-23 11:06:13 +1200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-10-01 18:58:34 +0000 |
commit | b0b9663c80e416bdbeae5af0b3e3977761ebb9ad (patch) | |
tree | e187da68bb18e744371b4f43c404a72824d53481 /.gitlab-ci-main.yml | |
parent | 3f4660900a71816df505c2e634eef86a86afcda3 (diff) | |
download | samba-b0b9663c80e416bdbeae5af0b3e3977761ebb9ad.tar.gz |
.gitlab-ci: Ignore errors from missing source files in code coverage
This could happen when code coverage is collected from multiple distributions.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to '.gitlab-ci-main.yml')
-rw-r--r-- | .gitlab-ci-main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci-main.yml b/.gitlab-ci-main.yml index 8ad0034faa7..cc815d0ca69 100644 --- a/.gitlab-ci-main.yml +++ b/.gitlab-ci-main.yml @@ -454,7 +454,7 @@ pages: - ls -la *.info - lcov $(ls *.info | xargs -I{} echo -n "-a {} ") -o all.info - ls -la *.info - - genhtml all.info --output-directory public --prefix=$(pwd) --title "coverage report for $CI_COMMIT_REF_NAME $CI_COMMIT_SHORT_SHA" + - genhtml all.info --ignore-errors source --output-directory public --prefix=$(pwd) --title "coverage report for $CI_COMMIT_REF_NAME $CI_COMMIT_SHORT_SHA" artifacts: expire_in: 30 days paths: |