Skip to content

Commit deecb40

Browse files
authored
ci: Add p-token test to workflow (solana-program#71)
Add p-token test to workflow
1 parent 3a8dcea commit deecb40

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,29 @@ jobs:
281281
- name: Test
282282
run: pnpm programs:test
283283

284+
test_ptoken:
285+
name: Test p-token
286+
runs-on: ubuntu-latest
287+
needs: build_ptoken
288+
steps:
289+
- name: Git Checkout
290+
uses: actions/checkout@v4
291+
292+
- name: Setup Environment
293+
uses: ./.github/actions/setup
294+
with:
295+
cargo-cache-key: cargo-test-ptoken
296+
solana: true
297+
298+
- name: Restore Program Builds
299+
uses: actions/cache/restore@v4
300+
with:
301+
path: ./**/*.so
302+
key: ${{ runner.os }}-ptoken-build-${{ github.sha }}
303+
304+
- name: Test
305+
run: pnpm p-token:test
306+
284307
conformance_ptoken:
285308
name: Conformance Test for p-token
286309
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)