Skip to content

Commit

Permalink
ci: use token to upload coverage report
Browse files Browse the repository at this point in the history
...and trigger a new coverage report.

Signed-off-by: Jay <[email protected]>
  • Loading branch information
BusyJay authored Apr 22, 2024
1 parent e505d63 commit 5911c3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ jobs:
- name: Run grcov
run: grcov `find . \( -name "*.profraw" \) -print` --binary-path target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../**' --ignore '/*' -o coverage.lcov
- name: Upload
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: coverage.lcov

0 comments on commit 5911c3a

Please sign in to comment.