forked from Ellipsis-Labs/solana-verifiable-build
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 875 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 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