Skip to content

Commit 398dfeb

Browse files
committed
Do not omit frame pointer and ignore potential mismatch error
Due to Catch2's template test macros expansion Signed-off-by: Julien Jerphanion <[email protected]>
1 parent c42c3d0 commit 398dfeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
-D BUILD_LIBMAMBAPY=OFF \
5454
-D ENABLE_MAMBA_ROOT_PREFIX_FALLBACK=OFF \
5555
-D CMAKE_BUILD_TYPE=Debug \
56-
-D CMAKE_CXX_FLAGS_DEBUG="-g -O0 --coverage" \
57-
-D CMAKE_C_FLAGS_DEBUG="-g -O0 --coverage"
56+
-D CMAKE_CXX_FLAGS_DEBUG="-g -O0 -fno-omit-frame-pointer --coverage" \
57+
-D CMAKE_C_FLAGS_DEBUG="-g -O0 -fno-omit-frame-pointer --coverage"
5858
cmake --build build/ --parallel
5959
- name: Show build cache statistics
6060
run: sccache --show-stats
@@ -71,6 +71,7 @@ jobs:
7171
run: |
7272
lcov --directory . --capture --output-file coverage.info
7373
lcov --remove coverage.info '/usr/*' '*/tests/*' '*/build/*' --output-file coverage.info
74+
lcov --summary coverage.info --ignore-errors mismatch
7475
- name: Upload coverage to Codecov
7576
uses: codecov/codecov-action@v4
7677
with:

0 commit comments

Comments
 (0)