Refactor/cleanup and optimization #168
Workflow file for this run
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: Update apt indexes | |
| run: | | |
| sudo apt-get update -o Acquire::Retries=3 | |
| - name: Install build deps | |
| run: | | |
| sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
| 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 |