From bba8a6906f3c9d3dd354525dacd940f830b3cb67 Mon Sep 17 00:00:00 2001 From: iain nash Date: Fri, 3 Nov 2023 02:00:59 -0400 Subject: [PATCH] finalize all testing --- .github/workflows/foundry.yml | 12 ++++++++++++ packages/protocol-sdk/src/anvil.ts | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/foundry.yml b/.github/workflows/foundry.yml index e864e533d..73108fe93 100644 --- a/.github/workflows/foundry.yml +++ b/.github/workflows/foundry.yml @@ -135,6 +135,18 @@ jobs: run: | npx turbo run build + test_js: + strategy: + fail-fast: true + + name: Test js package + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install node deps and founry + uses: ./.github/actions/setup_deps + - name: Test js package run: | npx turbo run test:js diff --git a/packages/protocol-sdk/src/anvil.ts b/packages/protocol-sdk/src/anvil.ts index 6e87304ef..60e1d8bff 100644 --- a/packages/protocol-sdk/src/anvil.ts +++ b/packages/protocol-sdk/src/anvil.ts @@ -29,7 +29,8 @@ async function waitForAnvilInit(anvil: any) { } export const anvilTest = test.extend({ - viemClients: async ({ task }, use) => { + viemClients: async ({task}, use) => { + console.log('setting up clients for ', task.name); const port = Math.floor(Math.random() * 2000) + 4000; const anvil = spawn( "anvil",