We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef0e796 commit 91c73b3Copy full SHA for 91c73b3
1 file changed
.github/workflows/rust-ci.yml
@@ -65,6 +65,25 @@ jobs:
65
RUSTDOCFLAGS: -D warnings
66
run: cargo doc --no-deps --document-private-items --all-features --examples
67
68
+ coverage:
69
+ name: Coverage
70
+ runs-on: ubuntu-latest
71
+ steps:
72
+ - name: Checkout repository
73
+ uses: actions/checkout@v4
74
+ - name: Install Rust toolchain
75
+ uses: dtolnay/rust-toolchain@stable
76
+ - name: Install cargo-llvm-cov
77
+ run: cargo install cargo-llvm-cov
78
+ - name: Generate coverage report
79
+ run: cargo llvm-cov --all-targets --lcov --output-path lcov.info
80
+ - name: Upload to Codecov
81
+ uses: codecov/codecov-action@v4
82
+ with:
83
+ files: lcov.info
84
+ fail_ci_if_error: true
85
+ token: ${{ secrets.CODECOV_TOKEN }}
86
+
87
publish-dry-run:
88
name: Publish dry run
89
runs-on: ubuntu-latest
0 commit comments