Skip to content

Commit

Permalink
chore: remove node tests from solana lazer contract workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cprussin committed Jan 16, 2025
1 parent 2fe9fb8 commit 7a59c0f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci-lazer-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,3 @@ jobs:
run: solana-keygen new --no-bip39-passphrase
- name: Install Anchor
run: RUSTFLAGS= cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
- name: Install pnpm
run: npm install --global pnpm@9.15.4
- name: Install test dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm run test
1 change: 0 additions & 1 deletion lazer/contracts/solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"fix:format": "prettier --write **/*.*",
"test:format": "prettier --check **/*.*",
"test:anchor": "CARGO_TARGET_DIR=\"$PWD/target\" anchor test",
"test": "pnpm run test:format && pnpm run test:anchor",
"setup": "pnpm ts-node scripts/setup.ts",
"check-trusted-signer": "pnpm ts-node scripts/check_trusted_signer.ts"
},
Expand Down
10 changes: 10 additions & 0 deletions lazer/contracts/solana/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"test": {
"dependsOn": ["test:format", "test:anchor"]
},
"test:anchor": {}
}
}

0 comments on commit 7a59c0f

Please sign in to comment.