From fccaca46ec96db2266c40d89f1beaa8e63ff1617 Mon Sep 17 00:00:00 2001 From: Bronek Kozicki Date: Tue, 12 Dec 2023 15:05:35 +0000 Subject: [PATCH] Switch to HTML detailed report --- .github/workflows/nix.yml | 2 +- Builds/CMake/RippledCov.cmake | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 77a80a1ec0a..1048e025c92 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -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 diff --git a/Builds/CMake/RippledCov.cmake b/Builds/CMake/RippledCov.cmake index c509e8d7f87..1d64064cf17 100644 --- a/Builds/CMake/RippledCov.cmake +++ b/Builds/CMake/RippledCov.cmake @@ -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)