From 84be8e3742d693eed042660f1000ab1a9a0c4314 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Thu, 7 Mar 2024 20:30:18 +0800 Subject: [PATCH 1/2] feat: add wxt suite --- tests/wxt.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/wxt.ts diff --git a/tests/wxt.ts b/tests/wxt.ts new file mode 100644 index 00000000..b3b5df75 --- /dev/null +++ b/tests/wxt.ts @@ -0,0 +1,11 @@ +import { runInRepo } from '../utils.ts' +import type { RunOptions } from '../types.d.ts' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'wxt-dev/wxt', + build: 'build', + test: 'test', + }) +} From a36f887056ad8a16eaa5e2e7ffa6b7ec8f18ce2b Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 8 Mar 2024 08:08:26 +0800 Subject: [PATCH 2/2] chore: update workflow --- .github/workflows/ecosystem-ci-from-pr.yml | 1 + .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index c3bc44d0..933cedd5 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -55,6 +55,7 @@ on: - vite-setup-catalogue - vitepress - vitest + - wxt jobs: init: runs-on: ubuntu-latest diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index 784641bc..ac113acc 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -61,6 +61,7 @@ on: - vite-setup-catalogue - vitepress - vitest + - wxt jobs: execute-selected-suite: timeout-minutes: 30 diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index a8d1f26e..908b7c85 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -67,6 +67,7 @@ jobs: - vite-setup-catalogue - vitepress - vitest + - wxt fail-fast: false steps: - uses: actions/checkout@v4