powerful-eye-58407
04/11/2023, 4:17 PMpants testbatch_compatibility_tagrun_against_entire_lockfile=truehappy-kitchen-89482
04/11/2023, 4:47 PMhappy-kitchen-89482
04/11/2023, 4:48 PM--changed-since=GITSPEC--changed-dependents=transitivewitty-crayon-22786
04/11/2023, 4:52 PMrootwitty-crayon-22786
04/11/2023, 4:52 PMwith parallelism set to 1.why set the parallelism to 1?
powerful-eye-58407
04/11/2023, 4:55 PMpowerful-eye-58407
04/11/2023, 4:59 PMpowerful-eye-58407
04/11/2023, 5:09 PMAnd I think you can still run only changed tests with --changed-since=GITSPEC and --changed-dependents=transitive? Then those will be batched.Ah, ok, I get this now. So, it looks like for github actions it would be the best to run with --changed-since=GITSPEC and --changed-dependents=transitive and batch the tests together to avoid overhead of pytest startup time. I somehow thought the assignment of files to batches is permanent for the given codebase to make use of the cache - but I guess it depends on how the pants test is executed (with what target list), right?
happy-kitchen-89482
04/11/2023, 5:15 PMhappy-kitchen-89482
04/11/2023, 5:15 PMpowerful-eye-58407
04/11/2023, 6:21 PM