Skip to content

Commit

Permalink
fix(ci): use the correct arguments for cargo-tarpaulin
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 19, 2023
1 parent ab3e484 commit 613f1cd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,9 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Setup cargo-tarpaulin
run: |
curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \
grep "browser_download_url.*x86_64-unknown-linux-musl.tar.gz" | cut -d : -f 2,3 | tr -d \" | wget -qi -
tar -xzf cargo-tarpaulin-*.tar.gz
mv cargo-tarpaulin ~/.cargo/bin/
uses: taiki-e/install-action@cargo-tarpaulin
- name: Run tests
run: cargo tarpaulin --out Xml --verbose -- --test-threads 1
run: cargo tarpaulin --out xml --verbose -- --test-threads 1
- name: Upload reports to codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 613f1cd

Please sign in to comment.