Skip to content

Commit

Permalink
fix(ci): Speed up tarpaulin install, don't compile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Jul 31, 2023
1 parent 4d15509 commit dcf239c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ jobs:
cargo test
--verbose
- name: Install cargo-tarpaulin (for coverage)
# As recommened by `cargo-binstall` team:
# https://github.com/cargo-bins/cargo-binstall/tree/d5549ce99ebc82b1ceee93a41375137b7dbd1a1f#faq
uses: taiki-e/install-action@v2
if: matrix.os == 'ubuntu-latest'
with:
tool: cargo-tarpaulin
- name: Run tests (with coverage)
if: matrix.os == 'ubuntu-latest'
run: >
rustup toolchain install --profile minimal nightly
&& cargo install cargo-tarpaulin
&& cargo tarpaulin
--verbose
--out Xml
Expand Down

0 comments on commit dcf239c

Please sign in to comment.