mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-07 21:07:46 +00:00
Revert "[ci] use --output-logs=new-only to only list tests that changed" (#10584)
Reverts vercel/vercel#10570 This was causing a bug because my assumption about turbo cache hit/miss was incorrect. I thought `turbo run test-e2e --listTests` would be use the same cache as `turbo run test-e2e` but it does not. So what was happening is that tests were not running on a second push to a PR because turbo already "cached" the result of `--listTests` so that `new-only` was saying there are no new tests and nothing to run 🤦
This commit is contained in:
2
utils/chunk-tests.js
vendored
2
utils/chunk-tests.js
vendored
@@ -47,7 +47,7 @@ async function getChunkedTests() {
|
||||
`run`,
|
||||
...scripts,
|
||||
`--cache-dir=.turbo`,
|
||||
'--output-logs=new-only',
|
||||
'--output-logs=full',
|
||||
'--log-order=stream',
|
||||
'--',
|
||||
'--', // need two of these due to pnpm arg parsing
|
||||
|
||||
Reference in New Issue
Block a user