diff --git a/.github/workflows/tests-sandbox.yml b/.github/workflows/tests-sandbox.yml index fd5b3eaf..4f870e74 100644 --- a/.github/workflows/tests-sandbox.yml +++ b/.github/workflows/tests-sandbox.yml @@ -19,4 +19,4 @@ jobs: - name: Install dependencies run: yarn - name: Run tests - run: yarn test:sandbox:ci --fail-fast + run: test:sandbox:ci-with-ignore --fail-fast diff --git a/__tests__/02.patch-state.ava.ts b/__tests__/ci-ignore-02.patch-state.ava.ts similarity index 99% rename from __tests__/02.patch-state.ava.ts rename to __tests__/ci-ignore-02.patch-state.ava.ts index b504c914..4ec0c0b1 100644 --- a/__tests__/02.patch-state.ava.ts +++ b/__tests__/ci-ignore-02.patch-state.ava.ts @@ -24,7 +24,6 @@ if (getNetworkFromEnv() === 'sandbox') { }>; test.beforeEach(async t => { - console.log('run beforeEach'); const worker = await Worker.init(); const root = worker.rootAccount; const contract = await root.devDeploy('__tests__/build/debug/status_message.wasm'); diff --git a/package.json b/package.json index 1c789001..08a6f8d6 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "test:testnet:ci": "yarn build && TESTNET_MASTER_ACCOUNT_ID='ro3evqruqecmi7q4uwux1651245117258' ava --config ./ava.testnet.config.cjs", "test:sandbox": "yarn test:sandbox:ci --verbose", "test:sandbox:ci": "yarn build && ava", + "test:sandbox:ci-with-ignore": "yarn build && ava __tests__/0* && cd examples/simple-project/ && ava && cd ../../packages/js && ava", "test": "yarn test:sandbox && yarn test:testnet", "prepare": "husky install", "release": "yarn lerna publish",