-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8b40b3
commit 54dd6bc
Showing
243 changed files
with
16,471 additions
and
649 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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: 30 | ||
|
||
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 | ||
This file contains 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
Oops, something went wrong.