Skip to content

Commit

Permalink
ci: testing if coverage steps cause issue if under test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungOnion committed Aug 14, 2024
1 parent 4f42f27 commit 8e20f4b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,22 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview

- uses: taiki-e/install-action@v2
with:
tool: nextest
- uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov

- name: Collect coverage
run: |
cargo llvm-cov --no-report nextest
cargo llvm-cov --no-report --doc
cargo llvm-cov report --doctests --lcov --output-path lcov.info
- name: Test default features
run: cargo test --all-targets
Expand Down

0 comments on commit 8e20f4b

Please sign in to comment.