File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -144,3 +144,22 @@ jobs:
144144 wait-for-processing : true
145145 - name : Report status
146146 run : cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
147+ coverage :
148+ name : Coverage
149+ runs-on : ubuntu-latest
150+ steps :
151+ - name : Checkout repository
152+ uses : actions/checkout@v4
153+ - name : Install Rust
154+ uses : dtolnay/rust-toolchain@stable
155+ with :
156+ toolchain : " 1.75" # STABLE
157+ - uses : Swatinem/rust-cache@v2
158+ - name : Install cargo-tarpaulin
159+ run : cargo install cargo-tarpaulin
160+ - name : Gather coverage
161+ run : cargo tarpaulin --output-dir coverage --out lcov
162+ - name : Publish to Coveralls
163+ uses : coverallsapp/github-action@master
164+ with :
165+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments