-
Notifications
You must be signed in to change notification settings - Fork 48
50 lines (43 loc) · 1.13 KB
/
forester-tests.yml
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
40
41
42
43
44
45
46
47
48
49
50
on:
push:
branches:
- main
paths:
- "forester/**"
- "photon-api/**"
- ".github/workflows/forester-tests.yml"
pull_request:
branches:
- main
paths:
- "forester/**"
- "photon-api/**"
- ".github/workflows/forester-tests.yml"
types:
- opened
- synchronize
- reopened
- ready_for_review
name: forester-tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
forester-tests:
name: forester-tests
if: github.event.pull_request.draft == false
runs-on: buildjet-2vcpu-ubuntu-2204
timeout-minutes: 60
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: true
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: Run forester tests
run: |
source ./scripts/devenv.sh
mkdir -p ./target/deploy
cp ./third-party/solana-program-library/spl_noop.so ./target/deploy/spl_noop.so
RUST_MIN_STACK=8388608 RUSTFLAGS="-D warnings" cargo test --package forester