Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Dec 31, 2023
1 parent 229604a commit 87e01ff
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ env:
RUSTFLAGS: "-C link-args=-Wl,--allow-multiple-definition"
FOUNDRY_PROFILE: ci


jobs:
check-wasm:
name: Check Wasm Crates
Expand Down Expand Up @@ -116,21 +115,26 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
submodules: recursive


- name: Install rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Install wasm toolchain
run: |
rustup target add wasm32-unknown-unknown
rustup component add rust-src
rustup show
- name: Install protoc
run: |
sudo apt update
sudo apt install protobuf-compiler
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Run unit tests
run: |
cargo test --all-targets --features=runtime-benchmarks --locked
Expand Down

0 comments on commit 87e01ff

Please sign in to comment.