Skip to content

Commit

Permalink
Remove deprecated actions-rs/tarpaulin
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas authored Jan 14, 2025
1 parent 1db4edf commit 28cf6ec
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,21 @@ jobs:
- name: Install deps
run: sudo apt -y install protobuf-compiler

- name: Install Tarpaulin v0.31.4
run: |
curl -L -o tarpaulin.tar.gz https://github.com/xd009642/tarpaulin/releases/download/0.31.4/cargo-tarpaulin-x86_64-unknown-linux-gnu.tar.gz
tar -xvzf tarpaulin.tar.gz
chmod +x cargo-tarpaulin
sudo mv cargo-tarpaulin /usr/local/bin/
- name: Run all tests & Generate report
uses: actions-rs/tarpaulin@v0.1
with:
version: 0.31.0
args: '--workspace --features try-runtime,runtime-benchmarks -e astar-collator xcm-tools local-runtime shibuya-runtime shiden-runtime astar-runtime integration-tests --exclude-files vendor/* bin/* runtime/* tests/* **/mock.rs **/weights.rs'
out-type: Xml
run: |
cargo tarpaulin \
--workspace \
--features try-runtime,runtime-benchmarks \
-e astar-collator xcm-tools local-runtime shibuya-runtime shiden-runtime astar-runtime integration-tests \
--exclude-files vendor/* bin/* runtime/* tests/* **/mock.rs **/weights.rs \
--out Xml
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.2.0
Expand Down

0 comments on commit 28cf6ec

Please sign in to comment.