Skip to content

Commit

Permalink
Switch to HTML detailed report
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronek committed Dec 12, 2023
1 parent 1a8fdb8 commit fccaca4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
with:
generator: Ninja
configuration: ${{ matrix.configuration }}
cmake-args: '-DCODE_COVERAGE_TYPE=html_standalone'
cmake-args: '-DCODE_COVERAGE_REPORT_TYPE=html_detailed'
cmake-target: coverage_report
- name: archive coverage results
uses: actions/upload-artifact@v3
Expand Down
8 changes: 4 additions & 4 deletions Builds/CMake/RippledCov.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ if (coverage)
set(TEST_PARALLELISM ${PROCESSOR_COUNT})
endif()

if (DEFINED CODE_COVERAGE_TYPE)
set(CODE_COVERAGE_STYLE ${CODE_COVERAGE_TYPE})
elseif (DEFINED ENV{CODE_COVERAGE_TYPE})
set(CODE_COVERAGE_STYLE $ENV{CODE_COVERAGE_TYPE})
if (DEFINED CODE_COVERAGE_REPORT_TYPE)
set(CODE_COVERAGE_STYLE ${CODE_COVERAGE_REPORT_TYPE})
elseif (DEFINED ENV{CODE_COVERAGE_REPORT_TYPE})
set(CODE_COVERAGE_STYLE $ENV{CODE_COVERAGE_REPORT_TYPE})
endif()

if (NOT GCOVR_PATH)
Expand Down

0 comments on commit fccaca4

Please sign in to comment.