diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 50c0cc3..a0cc019 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index be399a1..b92273e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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()