From 34126e6d51459181533f222fb2098b91ff14921e Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Thu, 30 Nov 2023 23:36:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20Use=20self-hosted=20runner?= =?UTF-8?q?=20for=20E2E=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- wallets/metamask/playwright.config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b2b21db0b..375dc34bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: test-e2e-headful: name: Run E2E tests (headful) - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v3 diff --git a/wallets/metamask/playwright.config.ts b/wallets/metamask/playwright.config.ts index 0994ed0a0..f70574ad0 100644 --- a/wallets/metamask/playwright.config.ts +++ b/wallets/metamask/playwright.config.ts @@ -18,10 +18,10 @@ export default defineConfig({ forbidOnly: !!process.env.CI, // Fail all remaining tests on CI after the first failure. We want to reduce the feedback loop on CI to minimum. - maxFailures: process.env.CI ? 1 : 0, + maxFailures: process.env.CI ? 0 : 0, // Opt out of parallel tests on CI since it supports only 1 worker. - workers: process.env.CI ? 1 : undefined, + workers: process.env.CI ? undefined : undefined, // Concise 'dot' for CI, default 'html' when running locally. // See https://playwright.dev/docs/test-reporters.