Skip to content

Commit 033bc32

Browse files
eps1lonclaude
andauthored
[ci] Remove the broken Test examples workflow and its test suite (#98517)
Removes the `Test examples` workflow and its orphaned test suite. The workflow fails every scheduled run: its pinned Playwright docker image (v1.35.1) is incompatible with the Playwright version the repo now requires (v1.61.0), so the browser cannot launch. It also no longer runs what it was created for: since the `run-tests.js` glob root moved from `test/` to the repository root, the `--type examples` string-prefix filter `examples/` matches test files inside example apps instead of `test/examples/examples.test.ts`, leaving that suite without any runner. This deletes `.github/workflows/test_examples.yml`, the `test/examples/` suite, and the `--type examples` filter in `run-tests.js`. The `examples/` prefix stays in the default-run exclusion list so test files inside example apps (which run with each example's own jest/vitest setup) are still not picked up by bare `run-tests.js` invocations. Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent 1a295a6 commit 033bc32

3 files changed

Lines changed: 3 additions & 126 deletions

File tree

‎.github/workflows/test_examples.yml‎

Lines changed: 0 additions & 57 deletions
This file was deleted.

‎run-tests.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ const testFilters = {
244244
development: new RegExp('^(test/(development|e2e))'),
245245
production: new RegExp('^(test/(production|e2e))'),
246246
unit: new RegExp('^(test/unit|packages/.*/src|packages/next-codemod)'),
247-
examples: 'examples/',
248247
e2e: 'test/e2e/',
249248
}
250249

@@ -255,7 +254,9 @@ const mockTrace = () => ({
255254
})
256255

257256
// which types we have configured to run separate
258-
const configuredTestTypes = Object.values(testFilters)
257+
// `examples/` additionally excludes test files inside example apps, which run
258+
// with each example's own jest/vitest setup instead of this runner.
259+
const configuredTestTypes = [...Object.values(testFilters), 'examples/']
259260
/** @type {Map<string, { output: string, failedCases: string[] }>} */
260261
const errorsPerTests = new Map()
261262

‎test/examples/examples.test.ts‎

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)