Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add browser-examples #19

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions tests/vitest-browser-examples.ts
Original file line number Diff line number Diff line change
@@ -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'],
})
}
Loading