Skip to content

Commit

Permalink
add solana mocha tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwen01 committed Oct 8, 2024
1 parent 352fc18 commit ff48cd8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,25 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run script tests
run: |
cd example/script
cargo test --release
solana-test:
name: Solana Test
runs-on: [runs-on, runner=8cpu-linux-x64, "run-id=${{ github.run_id }}"]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Go to solana directory
run: cd example/solana

- name: NPM install
run: npm install

- name: Run build-and-test script
run: yarn build-and-test

0 comments on commit ff48cd8

Please sign in to comment.