mirror of https://github.com/pulumi/pulumi.git
862ef1830d
11052: fix(ci): Split programgen tests over multiple jobs r=AaronFriel a=AaronFriel Attempt to fix ongoing CI issue #11022 where the `pkg/codegen/go` tests seem to hang runners. Applies a similar strategy as was used for `pkg/codegen/nodejs` tests to split them out over multiple jobs, generalized to handle additional languages. Previously, we would split the `pkg` module by package into 3 jobs using `gotestsum`, **except** for the package `pkg/codegen/nodejs` which would be split _by test_ into 4 jobs, for 7 total jobs. With this change, instead of special casing `pkg/codegen/nodejs`, each language's programgen tests are split into 6 packages, and relies on `gotestsum` to divide packages among a combined 7 jobs. The numbers 6 and 7 were chosen arbitrarily. 6 batches per language as this divides the tests fairly evenly, and 7 jobs total as that preserves the total number of jobs. The `test_pkg_$LANG` makefile targets weren't very descriptive and their meaning would change with this PR, there are new targets `test_codegen_$LANG` which replace their use. Co-authored-by: Aaron Friel <mayreply@aaronfriel.com> |
||
---|---|---|
.. | ||
gen_program_test | ||
.gitignore | ||
doc.go | ||
gen.go | ||
gen_intrinsics.go | ||
gen_program.go | ||
gen_program_expressions.go | ||
gen_program_lower.go | ||
gen_program_quotes.go | ||
gen_program_quotes_test.go | ||
gen_program_test.go | ||
gen_program_utils.go | ||
gen_resource_mappings.go | ||
gen_resource_mappings_test.go | ||
gen_test.go | ||
importer.go | ||
python.go | ||
python_test.go | ||
requirements.txt | ||
test.go | ||
utilities.go | ||
utilities_test.go |