Skip to content

Commit

Permalink
feat: add browser-examples (#19)
Browse files Browse the repository at this point in the history
* feat: add browser-examples

* chore: add to yml
  • Loading branch information
sheremet-va authored Jun 24, 2024
1 parent 95c2933 commit 7ad4cca
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
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'],
})
}

0 comments on commit 7ad4cca

Please sign in to comment.