From 7a59c0f75b835d1f16619540e91c433ff0a22817 Mon Sep 17 00:00:00 2001 From: Connor Prussin Date: Wed, 15 Jan 2025 13:10:25 -0800 Subject: [PATCH] chore: remove node tests from solana lazer contract workflow --- .github/workflows/ci-lazer-solana-contract.yml | 6 ------ lazer/contracts/solana/package.json | 1 - lazer/contracts/solana/turbo.json | 10 ++++++++++ 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 lazer/contracts/solana/turbo.json diff --git a/.github/workflows/ci-lazer-solana-contract.yml b/.github/workflows/ci-lazer-solana-contract.yml index d464a55db..450fba418 100644 --- a/.github/workflows/ci-lazer-solana-contract.yml +++ b/.github/workflows/ci-lazer-solana-contract.yml @@ -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 diff --git a/lazer/contracts/solana/package.json b/lazer/contracts/solana/package.json index a0475bc80..31d794552 100644 --- a/lazer/contracts/solana/package.json +++ b/lazer/contracts/solana/package.json @@ -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" }, diff --git a/lazer/contracts/solana/turbo.json b/lazer/contracts/solana/turbo.json new file mode 100644 index 000000000..de86b971b --- /dev/null +++ b/lazer/contracts/solana/turbo.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "test": { + "dependsOn": ["test:format", "test:anchor"] + }, + "test:anchor": {} + } +}