Skip to content

Commit

Permalink
Update code coverage action and add upload token (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twon authored May 29, 2024
1 parent c6d6cbb commit caccc1a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ jobs:
run: cmake --build --preset ${{ env.CONAN_PRESET }} --target coverage-cobertura

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.4
uses: codecov/codecov-action@v4.4.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
working-directory: ${{github.workspace}}/build/${{env.BUILD_TYPE}}/coverage
gcov: true
gcov_include: ${{github.workspace}}/build/${{env.BUILD_TYPE}}/coverage/html
files: ${{github.workspace}}/build/${{env.BUILD_TYPE}}/coverage/cobertura_coverage.xml

0 comments on commit caccc1a

Please sign in to comment.