From 435e658df906c2ccdde71ee9e84340298e2d1cc6 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Fri, 22 Sep 2023 16:47:23 +0100 Subject: [PATCH] Don't run lcov on MacOS --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b037db57..44660fcf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,7 +89,7 @@ jobs: # MacOS - name: Install dependencies for MacOS if: ${{ contains(matrix.os, 'macos') }} - run: brew install fftw hdf5 lcov + run: brew install fftw hdf5 - name: Fix omp headers not linked on MacOS if: ${{ contains(matrix.os, 'macos') }} @@ -167,7 +167,7 @@ jobs: ctest -C ${{ matrix.build_type }} --output-on-failure --extra-verbose - name: Run coverage analysis with lcov - if: matrix.build_testing == 'ON' + if: matrix.build_testing == 'ON' && contains(matrix.os, 'ubuntu') shell: bash # Create the coverage summary, filter out dependencies' coverage then # print human-readable summary in the build logs.