7 Commits

Author SHA1 Message Date
JJ Kasper 38a1d1d73b Add RDC action test to deploy manifest and update PR test trigger (#91173)
x-ref: https://github.com/vercel/next.js/pull/91163
2026-03-10 18:45:18 -07:00
Hendrik Liebau 239471c83d [ci] Exclude test/production from deploy tests (#88763) 2026-01-19 20:53:06 +01:00
Hendrik Liebau 5c045fb2f4 [ci] Improve change detection logic in run-for-change script (#85619)
This PR extracts the existing git change detection logic from the `get-changed-tests` script into a separate module. This allows reusing the same logic in the `run-for-change` script, ensuring consistent behavior across the two scripts to determine changed files. Specifically, this ensures that in stacked PRs, the docs-only change detection (and the test-only change detection in the upstack PR) works correctly by diffing against the appropriate base branch.
2025-10-31 18:10:03 +01:00
Sebastian "Sebbie" Silbermann ab6e7b9f1d [test] Consider test/integration/ in flake detection tests (#85590) 2025-10-31 10:47:06 +01:00
Sebastian Silbermann bee02f9a8d Exclude changes that already landed in canary when finding changed tests (#64218) 2024-07-15 22:47:41 +00:00
Zack Tanner 49377880b1 run changed/added tests in deploy mode (#67612)
Leverages the work from https://github.com/vercel/next.js/pull/66445 to
download artifacts for a particular commit SHA, so that it can be passed
to the `test-deploy` script.

This will let us run deploy tests on PRs, ensuring that they're run from
the Next.js on the target branch rather than `canary`.

This waits until `test-new-tests-dev` and `test-new-tests-start`
complete for 2 reasons:
- No reason to waste deploy resources if the changed/added tests don't
even work in dev/start
- It gives time for deploy-tarball to finish

Sample run:
https://github.com/vercel/next.js/actions/runs/9865244781/job/27241944533?pr=67612#step:28:54
2024-07-10 06:58:58 -07:00
Zack Tanner 02c02a4707 split out flake detection from utility to detect changed tests (#67611)
This splits out the existing logic for detecting changed/added tests
into a separate util, so it can be leveraged by #67612.

No changes in functionality, aside from replacing informational logs
with `console.log` rather than `console.error` and a tweak to arg
parsing.
2024-07-10 06:40:44 -07:00