Skip to content

Commit 0d0d540

Browse files
committed
Try ignoring the geninfo errors
Signed-off-by: Darby Johnston <[email protected]>
1 parent f5e80fe commit 0d0d540

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
if: matrix.os == env.GH_COV_OS && github.actor != env.GH_DEPENDABOT
6666
run: |
6767
cd ${{ env.OTIO_BUILD_DIR }}
68-
lcov --capture -b . --directory . --output-file=coverage.info -q --ignore-errors mismatch
68+
lcov --capture -b . --directory . --output-file=coverage.info -q --ignore-errors gcov
6969
cat coverage.info | sed "s/SF:.*src/SF:src/g" > coverage.filtered.info
7070
lcov --remove coverage.filtered.info '*/usr/*' --output-file=coverage.filtered.info -q
7171
lcov --remove coverage.filtered.info '*/deps/*' --output-file=coverage.filtered.info -q

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ifndef OTIO_CXX_BUILD_TMP_DIR
9494
endif
9595
lcov --rc lcov_branch_coverage=1 --capture -b . --directory ${OTIO_CXX_BUILD_TMP_DIR} \
9696
--output-file=${OTIO_CXX_BUILD_TMP_DIR}/coverage.info -q \
97-
--ignore-errors mismatch
97+
--ignore-errors gcov
9898
cat ${OTIO_CXX_BUILD_TMP_DIR}/coverage.info | sed "s/SF:.*src/SF:src/g"\
9999
> ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info
100100
lcov --rc lcov_branch_coverage=1 --remove ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info '/usr/*' \

0 commit comments

Comments
 (0)