Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ permissions:
packages: read

on:
push:
workflow_dispatch:
pull_request:
branches:
- main
pull_request:
types:
- opened
- synchronize
Expand Down Expand Up @@ -94,6 +94,20 @@ jobs:
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Free up space on runner (Linux)
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
set -xeuo pipefail
sudo rm -rf /usr/local/lib/android &
sudo rm -rf /usr/share/dotnet &
sudo rm -rf /usr/share/swift &
if command -v docker &> /dev/null; then
sudo docker image prune -af &
fi
sudo apt-get clean &
wait

- uses: actions/checkout@v4

- name: Install stable toolchain
Expand Down Expand Up @@ -142,4 +156,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cargo nextest run --locked --no-default-features --features "chain,integration-tests" --test chain --test metadata --no-fail-fast --nocapture --status-level all
cargo nextest run --locked --no-default-features --features "chain,integration-tests" --test chain --test metadata --no-fail-fast --nocapture --status-level all
Loading