diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index d2750000a..08b869327 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -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 @@ -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 diff --git a/cSpell.json b/cSpell.json index ac83bf7f7..5cafa68ed 100644 --- a/cSpell.json +++ b/cSpell.json @@ -84,6 +84,7 @@ "subsec", "Swatinem", "Swiftbit", + "taiki", "thiserror", "Torrentstorm", "torrust", diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..f0878195b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,6 @@ +coverage: + status: + project: + default: + target: auto + threshold: 0.5%