From 0d0d5408d85f2fc41dbdd72f208d5da3c8e41ee2 Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Thu, 16 Jan 2025 14:21:34 -0800 Subject: [PATCH] Try ignoring the geninfo errors Signed-off-by: Darby Johnston --- .github/workflows/python-package.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 69361b7ef..05bc6b8bc 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -65,7 +65,7 @@ jobs: if: matrix.os == env.GH_COV_OS && github.actor != env.GH_DEPENDABOT run: | cd ${{ env.OTIO_BUILD_DIR }} - lcov --capture -b . --directory . --output-file=coverage.info -q --ignore-errors mismatch + lcov --capture -b . --directory . --output-file=coverage.info -q --ignore-errors gcov cat coverage.info | sed "s/SF:.*src/SF:src/g" > coverage.filtered.info lcov --remove coverage.filtered.info '*/usr/*' --output-file=coverage.filtered.info -q lcov --remove coverage.filtered.info '*/deps/*' --output-file=coverage.filtered.info -q diff --git a/Makefile b/Makefile index 6bbe0f0d0..9ae9d64d2 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ ifndef OTIO_CXX_BUILD_TMP_DIR endif lcov --rc lcov_branch_coverage=1 --capture -b . --directory ${OTIO_CXX_BUILD_TMP_DIR} \ --output-file=${OTIO_CXX_BUILD_TMP_DIR}/coverage.info -q \ - --ignore-errors mismatch + --ignore-errors gcov cat ${OTIO_CXX_BUILD_TMP_DIR}/coverage.info | sed "s/SF:.*src/SF:src/g"\ > ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info lcov --rc lcov_branch_coverage=1 --remove ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info '/usr/*' \