Skip to content

Commit

Permalink
Merge pull request #26 from rtkay123/ci
Browse files Browse the repository at this point in the history
ci: extract coverage to separate job
  • Loading branch information
rtkay123 authored Nov 14, 2023
2 parents 8961917 + d6255f9 commit 471cd1b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ jobs:
run: cargo test --all-features
- name: cargo install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: cargo install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: cargo llvm-cov
run: cargo llvm-cov --workspace --locked --all-features --lcov --output-path lcov.info
- name: Upload to codecov.io
Expand Down

0 comments on commit 471cd1b

Please sign in to comment.