From d06575d89c516761c05a0343d5967d44b15a6d06 Mon Sep 17 00:00:00 2001 From: Andrei Lascu Date: Mon, 20 Jun 2022 18:06:24 +0100 Subject: [PATCH] Update coverage CI Ignore errors withing `gcov` when using `gcovr`, as per https://github.com/gcovr/gcovr/issues/627. --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e46b96734a9..707db63d66b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -76,14 +76,14 @@ jobs: - name: Gather coverage run: | cd ${{github.workspace}} - gcovr --html coverage.html --gcov-executable "llvm-cov gcov" . + gcovr --html coverage.html --gcov-ignore-parse-errors --gcov-executable "llvm-cov gcov" . cd - - name: Gather detailed coverage run: | cd ${{github.workspace}} mkdir cov-details - gcovr --html-details ${{env.COV_DETAILS_PATH}}/coverage.html --gcov-executable "llvm-cov gcov" -r `pwd`/src --object-directory `pwd`/build + gcovr --html-details ${{env.COV_DETAILS_PATH}}/coverage.html --gcov-ignore-parse-errors --gcov-executable "llvm-cov gcov" -r `pwd`/src --object-directory `pwd`/build cd - - name: Get date