Skip to content

Commit

Permalink
Limit Codecov analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Jul 23, 2024
1 parent 98a787e commit d087844
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
run: ctest -C ${{env.BUILD_TYPE}} -E 'Benchmark'

- name: Generate coverage xml
run: gcovr -f src -xml-pretty > coverage.xml
run: gcovr -f ${{github.workspace}}/src -xml-pretty > coverage.xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
files: ./coverage.xml
working-directory: ${{github.workspace}}/src
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit d087844

Please sign in to comment.