Skip to content

Commit

Permalink
Fix codecov for MacOS (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon authored Jul 21, 2024
1 parent 4110f2d commit add1746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,14 @@ jobs:
run: cd build_examples/tutorials_bin && ./Tutorial-HelloWorld

- name: Create Cobertura Report
if: ${{ matrix.host-arch == matrix.arch }}
run: |
python3 -m pip install gcovr
gcovr -v -r . $GCOVR_FLAGS -o coverage.xml
- name: Upload Coverage Results
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
if: ${{ matrix.host-arch == matrix.arch }}
with:
files: ./coverage.xml
flags: ${{ matrix.os-version }},unittest
Expand Down

0 comments on commit add1746

Please sign in to comment.