diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index e3f79d2..5976c25 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -41,6 +41,7 @@ on: - vitest-sonar-reporter - vitest-github-actions-reporter - vitest-browser-simple + - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large jobs: @@ -112,6 +113,7 @@ jobs: - vitest-sonar-reporter - vitest-github-actions-reporter - vitest-browser-simple + - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large fail-fast: false diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index f4957a8..d533be3 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -46,6 +46,7 @@ on: - vitest-sonar-reporter - vitest-github-actions-reporter - vitest-browser-simple + - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large jobs: diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 9e200b6..641179e 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -52,6 +52,7 @@ jobs: - vitest-sonar-reporter - vitest-github-actions-reporter - vitest-browser-simple + - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large fail-fast: false diff --git a/tests/vitest-browser-examples.ts b/tests/vitest-browser-examples.ts new file mode 100644 index 0000000..de97ed6 --- /dev/null +++ b/tests/vitest-browser-examples.ts @@ -0,0 +1,11 @@ +import { runInRepo } from '../utils' +import { RunOptions } from '../types' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'vitest-tests/browser-examples', + test: 'test', + beforeTest: ['pnpm playwright install chromium'], + }) +}