Skip to content

Commit

Permalink
Bump action version to 4.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Jul 24, 2024
1 parent c5e4164 commit f28c08e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,18 @@ jobs:
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -E 'Benchmark'

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

- name: remove not needed files
run: rm -rf ${{github.workspace}}/build/_deps; rm -rf {{github.workspace}}/test
# - name: remove not needed files
# run: |
# rm -rf ${{github.workspace}}/build/_deps
# rm -rf {{github.workspace}}/test

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v4.5.0
with:
# file: ${{github.workspace}}/coverage.xml
file: ${{github.workspace}}/coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
# exclude: ${{github.workspace}}/test
exclude: ${{github.workspace}}/test
verbose: true

0 comments on commit f28c08e

Please sign in to comment.