Skip to content

Commit

Permalink
Fix CI issues (#37)
Browse files Browse the repository at this point in the history
* add ignore for thirdparty

* fix coverage report
  • Loading branch information
egecetin authored Aug 3, 2024
1 parent 1d8f840 commit 093d08a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ if(KALEIDOSCOPE_ENABLE_TESTS)
include(CTest)
enable_testing()

add_compile_options(--coverage)
add_link_options(--coverage)
add_subdirectory(tests)
endif()

Expand Down
1 change: 1 addition & 0 deletions codespell-ignore-list.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ege
thirdparty
2 changes: 0 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ if(UNIX)
if(KALEIDOSCOPE_ENABLE_COVERAGE)
include(CodeCoverage)

add_compile_options(--coverage)
add_link_options(--coverage)
set(GCOVR_ADDITIONAL_ARGS "--exclude-throw-branches")
setup_target_for_coverage_gcovr_html(
NAME
Expand Down

0 comments on commit 093d08a

Please sign in to comment.