Update coverage ci

This commit is contained in:
ado 2023-08-08 02:08:31 +02:00
parent 49a3a20e68
commit 6e27f35209
2 changed files with 2 additions and 2 deletions

View File

@ -41,6 +41,6 @@ foreach(name IN ITEMS test_splitter test_parser test_converter test_extractions
target_link_libraries("${name}" PRIVATE ssp::ssp fast_float target_link_libraries("${name}" PRIVATE ssp::ssp fast_float
doctest::doctest) doctest::doctest)
target_compile_definitions( 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}") add_test(NAME "${name}" COMMAND "${name}")
endforeach() endforeach()

View File

@ -6,7 +6,7 @@
#include <vector> #include <vector>
#include <filesystem> #include <filesystem>
#ifdef _CMAKE_GITHUB_CI #ifdef CMAKE_GITHUB_CI
#include <doctest/doctest.h> #include <doctest/doctest.h>
#else #else
#include <doctest.h> #include <doctest.h>