Skip to content

Commit f5e80fe

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

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
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
68+
lcov --capture -b . --directory . --output-file=coverage.info -q --ignore-errors mismatch
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ ifndef OTIO_CXX_BUILD_TMP_DIR
9393
not be found.)
9494
endif
9595
lcov --rc lcov_branch_coverage=1 --capture -b . --directory ${OTIO_CXX_BUILD_TMP_DIR} \
96-
--output-file=${OTIO_CXX_BUILD_TMP_DIR}/coverage.info -q
96+
--output-file=${OTIO_CXX_BUILD_TMP_DIR}/coverage.info -q \
97+
--ignore-errors mismatch
9798
cat ${OTIO_CXX_BUILD_TMP_DIR}/coverage.info | sed "s/SF:.*src/SF:src/g"\
9899
> ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info
99100
lcov --rc lcov_branch_coverage=1 --remove ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info '/usr/*' \

src/opentimelineio/typeRegistry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class TypeRegistry
6060
CLASS::Schema::name,
6161
CLASS::Schema::version,
6262
&typeid(CLASS),
63-
[]() -> SerializableObject* { return new CLASS; }, // LCOV_EXCL_EXCEPTION_BR_LINE
63+
[]() -> SerializableObject* { return new CLASS; },
6464
CLASS::Schema::name);
6565
}
6666

0 commit comments

Comments
 (0)