Skip to content

Commit 9f6cc13

Browse files
fixed tarpulin
1 parent cad8ba0 commit 9f6cc13

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
102102
- uses: actions/checkout@v3
103103
- name: Install linux dependencies
104-
run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler make
104+
run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler make pkg-config
105105
- name: Install Rust and Use It
106106
shell: bash
107107
run: |
@@ -120,9 +120,14 @@ jobs:
120120
- name: Rust Cache
121121
uses: Swatinem/rust-cache@v2
122122
- name: Install cargo-tarpaulin
123-
run: cargo install cargo-tarpaulin --locked
123+
shell: bash
124+
run: |
125+
. "$HOME/.cargo/env"
126+
cargo install cargo-tarpaulin --locked
124127
- name: Run cargo-tarpaulin
128+
shell: bash
125129
run: |
130+
. "$HOME/.cargo/env"
126131
cargo tarpaulin --verbose --locked --no-fail-fast --workspace --features runtime-benchmarks --out Xml -- --skip mock_clusters_gov::__construct_runtime_integrity_test::runtime_integrity_tests
127132
- name: Upload coverage report
128133
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)