Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liamaharon committed Nov 3, 2023
1 parent dda1bec commit 2e1c3e7
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/rust-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
rust-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Checkout source code
uses: actions/checkout@v4

Expand Down Expand Up @@ -55,20 +56,8 @@ jobs:
sudo apt-get autoremove -y >/dev/null 2>&1
sudo apt-get autoclean -y >/dev/null 2>&1
- name: Check disk space
run: |
sudo dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr | head
df . -h
sudo du /usr/ -hx -d 4 --threshold=1G | sort -hr | head
- name: cargo build binary required for test
run: SKIP_WASM_BUILD=1 cargo build -p try-runtime-cli

- name: Build binary for test
uses: actions-rs/cargo@v1
with:
command: build
args: --release

- name: Run Tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release
- name: cargo test
run: SKIP_WASM_BUILD=1 cargo test

0 comments on commit 2e1c3e7

Please sign in to comment.