Skip to content

Commit 22e5f52

Browse files
committed
ci: merge coverage workflow into CI
Both workflows had identical triggers, runner, and duplicate checkout/toolchain/cache steps. Coverage now runs as the final steps of the existing CI job.
1 parent 966da01 commit 22e5f52

2 files changed

Lines changed: 11 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,14 @@ jobs:
2929
run: cargo test --workspace
3030
- name: Build example
3131
run: cargo test --manifest-path examples/quecto-repl/quecto-vm/Cargo.toml
32+
- uses: taiki-e/install-action@v2
33+
with:
34+
tool: cargo-tarpaulin
35+
- name: Generate coverage
36+
run: cargo tarpaulin --workspace --exclude hsrs-macros --out xml --output-dir coverage
37+
- name: Upload to Codecov
38+
uses: codecov/codecov-action@v5
39+
with:
40+
files: coverage/cobertura.xml
41+
fail_ci_if_error: false
42+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/coverage.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)