Skip to content

Commit

Permalink
Don't run lcov on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
samcunliffe authored Sep 22, 2023
1 parent fd221e9 commit 435e658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 435e658

Please sign in to comment.