Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable gcovr call. #5

Merged
merged 10 commits into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,11 @@ jobs:
run: ctest -C ${{env.BUILD_TYPE}} -E 'Benchmark'

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

# Could not make Codecov action v4.5 working properly as it was reporting also tests dir. Workaround.
- name: Remove not needed files
run: |
rm -rf ${{github.workspace}}/build/_deps
rm -rf ${{github.workspace}}/build/test

run: gcovr --filter ${{github.workspace}}/src --xml --output coverage.xml

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
file: ${{github.workspace}}/coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: yes
Loading