[skip ci] Fix coverage.yml typo, disable extended tests

This commit is contained in:
ado 2024-02-21 21:23:38 +01:00
parent 1798b4c6f3
commit cbb0a1ad8e
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ jobs:
- name: Generate coverage report
run: |
lcov -d . -c -o out.info --rc branch_coverage=1 --no-external --filter branch --filter line --ignore-erros mismatch
lcov -d . -c -o out.info --rc branch_coverage=1 --no-external --filter branch --filter line --ignore-errors mismatch
lcov -e out.info '*include/ss*hpp' -o filtered.info
- name: Invoke coveralls

View File

@ -41,6 +41,6 @@ foreach(name IN ITEMS test_splitter test_parser1_1 test_parser1_2
target_link_libraries("${name}" PRIVATE ssp::ssp fast_float
doctest::doctest)
target_compile_definitions(
"${name}" PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI)
"${name}" PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN _CMAKE_GITHUB_CI)
add_test(NAME "${name}" COMMAND "${name}")
endforeach()