From cbb0a1ad8e2de2d77170c51c238fa9fb98d096c1 Mon Sep 17 00:00:00 2001 From: ado Date: Wed, 21 Feb 2024 21:23:38 +0100 Subject: [PATCH] [skip ci] Fix coverage.yml typo, disable extended tests --- .github/workflows/coverage.yml | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()