Skip to content

Commit

Permalink
Fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Jan 17, 2025
1 parent cd662db commit 6bef8bc
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,24 @@ jobs:
- name: Install deps
run: sudo apt -y install protobuf-compiler

- name: Install Tarpaulin v0.31.4 and Generate Report
- name: Install Tarpaulin
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/ && \
cargo tarpaulin --workspace --features try-runtime,runtime-benchmarks --exclude astar-collator --exclude xcm-tools --exclude local-runtime --exclude shibuya-runtime --exclude shiden-runtime --exclude astar-runtime integration-tests --exclude-files vendor/* --exclude-files bin/* --exclude-files runtime/* --exclude-files tests/* --exclude-files **/mock.rs --exclude-files **/weights.rs --out Xml
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 Tarpaulin
run: |
cargo tarpaulin --workspace --features try-runtime,runtime-benchmarks \
--exclude \
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/[email protected]
Expand Down

0 comments on commit 6bef8bc

Please sign in to comment.