Skip to content

Commit da56001

Browse files
committed
chore(ci): Gather coverage
1 parent 9a5af5c commit da56001

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)