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:
Steven
2023-09-25 16:11:40 -04:00
committed by GitHub
parent 905c7b6ad4
commit ab01608785
2 changed files with 1 additions and 3 deletions

View File

@@ -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