This repository was archived by the owner on Apr 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,16 +53,16 @@ jobs:
5353 # Add appropriate variables for gcov version required. This will intentionally break
5454 # if you try to use a compiler that does not have gcov set
5555 - compiler : gcc
56- gcov : gcov
56+ gcov_executable : gcov
5757 - compiler : llvm
58- gcov : " llvm-cov gcov"
58+ gcov_executable : " llvm-cov gcov"
5959
6060 # This exists solely to make sure a non-multiconfig build works
6161 - os : ubuntu-20.04
6262 compiler : gcc
6363 generator : " Unix Makefiles"
6464 build_type : Debug
65- gcov : gcov
65+ gcov_executable : gcov
6666 developer_mode : On
6767
6868 - os : windows-2022
@@ -145,7 +145,7 @@ jobs:
145145 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
146146 run : |
147147 ctest -C ${{matrix.build_type}}
148- gcovr -j ${{env.nproc}} --delete --root ../ --print-summary --xml-pretty --xml coverage.xml . --gcov-executable '${{matrix.gcov }}'
148+ gcovr -j ${{env.nproc}} --delete --root ../ --print-summary --xml-pretty --xml coverage.xml . --gcov-executable '${{ matrix.gcov_executable }}'
149149
150150 - name : Windows - Test and coverage
151151 if : runner.os == 'Windows'
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ add_library(catch_main OBJECT catch_main.cpp)
77target_link_libraries (catch_main PUBLIC Catch2::Catch2 )
88target_link_libraries (catch_main PRIVATE project_options )
99
10+ # Provide a simple smoke test to make sure that the CLI works and can display a --help message
1011add_test (NAME cli.has_help COMMAND intro --help )
1112
1213add_executable (tests tests.cpp )
You can’t perform that action at this time.
0 commit comments