Merge pull request #175 from Arrowana/chore/diet-solana-crates-2.3 #112
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Integration Tests | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false # Continue with other tests even if one fails | |
| matrix: | |
| test_name: | |
| - test_phoenix_v1 | |
| - test_squads_v3 | |
| - test_drift_v2 | |
| - test_marginfi_v2 | |
| - test_local_example | |
| - test_verify_from_image | |
| - test_games_preset | |
| - test_agave_2_1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt install -y pkg-config libudev-dev | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache dependencies | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Build | |
| run: cargo build | |
| - name: Run ${{ matrix.test_name }} | |
| run: cargo test ${{ matrix.test_name }} -- --nocapture |