Skip to content

Commit

Permalink
Coverage: Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
drowaudio committed Jul 15, 2024
1 parent a820b02 commit cb2cedf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/generate_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:

- name: Windows coverage
if: runner.os == 'Windows'
working-directory:
working-directory: ./tests/coverage
run: |
cmake -B ./tests/coverage/build -A x64
cmake --build ./tests/coverage/build --target coverage --config RelWithDebInfo --parallel
OpenCppCoverage.exe --config_file ./tests/coverage/coverage.txt -- ./tests/coverage/build/coverage_artefacts/RelWithDebInfo/coverage.exe
cmake -B build -A x64
cmake --build ./build --target coverage --config RelWithDebInfo --parallel
OpenCppCoverage.exe --config_file coverage.txt -- ./build/coverage_artefacts/RelWithDebInfo/coverage.exe
shell: bash

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
files: ./tests/coverage/coverage.xml
token: ${{ secrets.CODECOV_TOKEN_V4 }}

0 comments on commit cb2cedf

Please sign in to comment.