Skip to content

Commit

Permalink
ci: Use codecov coverage format
Browse files Browse the repository at this point in the history
  • Loading branch information
emgrav committed Oct 16, 2024
1 parent 3d725da commit 0f93f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ jobs:
working-directory: head
run: |
docker compose --project-directory ./tests/environment down -v
cargo llvm-cov nextest --profile ci --workspace --lcov --output-path '${{github.workspace}}/lcov.info'
sed "s|$PWD/||g" -i '${{github.workspace}}/lcov.info'
cargo llvm-cov nextest --profile ci --workspace --codecov --output-path '${{github.workspace}}/codecov.info'
sed "s|$PWD/||g" -i '${{github.workspace}}/codecov.info'
- name: Get docker logs on failure
shell: bash
Expand All @@ -114,7 +114,7 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{secrets.CODECOV_TOKEN}}
files: "${{github.workspace}}/lcov.info"
files: "${{github.workspace}}/codecov.info"

- name: Codecov - Upload test results
uses: codecov/test-results-action@v1
Expand Down

0 comments on commit 0f93f60

Please sign in to comment.