Skip to content

Commit

Permalink
Fix coverage CI: only run coverage for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
casavaca committed Jan 16, 2024
1 parent 1a7926d commit f0260c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ jobs:
llvm-cov show ${{ steps.strings.outputs.build-output-dir }}/sokoban -instr-profile=/tmp/coverage.profdata ${{ github.workspace }}/src > /tmp/coverage.txt
- name: Upload Coverage
if: ${{ matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'clang' }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit f0260c4

Please sign in to comment.