Skip to content

Commit

Permalink
[CI] Cleanup storage before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akru committed Jul 10, 2024
1 parent 66ecdd5 commit dfaa0d9
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,18 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
tests:
checks-and-tests:
runs-on: ubuntu-latest
steps:
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
- name: Checkout the source code
uses: actions/checkout@v3

Expand All @@ -26,5 +35,8 @@ jobs:
- name: Check targets are installed correctly
run: rustup target list --installed

- name: All tests
run: cargo test --all
- name: Check all features compilation
run: cargo check --verbose --features runtime-benchmarks --locked

- name: Run all tests
run: cargo test --features runtime-benchmarks --locked

0 comments on commit dfaa0d9

Please sign in to comment.