Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ jobs:
name: Enable Workflow Cache
uses: Swatinem/rust-cache@v2

- id: tools
name: Install Tools
uses: taiki-e/install-action@v2
with:
tool: grcov

- id: check
name: Run Build-Checks
name: Run Build Checks
run: cargo check --workspace --all-targets --all-features

- id: test
Expand All @@ -49,6 +55,5 @@ jobs:
uses: codecov/codecov-action@v3
with:
files: ${{ steps.coverage.outputs.report }}
flag: rust
verbose: true
fail_ci_if_error: true
1 change: 1 addition & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"subsec",
"Swatinem",
"Swiftbit",
"taiki",
"thiserror",
"Torrentstorm",
"torrust",
Expand Down
6 changes: 6 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: auto
threshold: 0.5%