pulumi/pkg/codegen/python
bors[bot] 862ef1830d
Merge #11052
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>
2022-10-18 01:15:49 +00:00
..
gen_program_test chore: Update makefile, ensure make test_codegen_go 2022-10-17 00:22:48 -07:00
.gitignore Simplify output-funcs codegen test (#8039) 2021-09-23 13:42:20 -04:00
doc.go Support "lifting" single-valued method returns to their return type (#8111) 2021-10-01 11:33:02 -07:00
gen.go Revert "Revert "Go and Python codegen support symbols with hyphens in their names"" 2022-10-17 09:37:07 -07:00
gen_intrinsics.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
gen_program.go Support options.version on pulumi convert 2022-09-23 09:41:17 -07:00
gen_program_expressions.go refactor: annotateObjectProperties no longer skips top-level object and annotates unions 2022-10-08 14:46:25 +02:00
gen_program_lower.go [codegen] Rename the PCL package. (#8103) 2021-09-29 20:11:56 -07:00
gen_program_quotes.go [codegen] Rename the PCL package. (#8103) 2021-09-29 20:11:56 -07:00
gen_program_quotes_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
gen_program_test.go chore: Update makefile, ensure make test_codegen_go 2022-10-17 00:22:48 -07:00
gen_program_utils.go Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
gen_resource_mappings.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
gen_resource_mappings_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
gen_test.go Fix nodejs external enums (#10286) 2022-07-29 17:07:27 +02:00
importer.go Respect schema versions (toggled via flag) (#8881) 2022-02-03 17:07:13 +01:00
python.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
python_test.go Remove deprecated PyNameLegacy (#9870) 2022-06-15 14:45:55 +02:00
requirements.txt Simplify output-funcs codegen test (#8039) 2021-09-23 13:42:20 -04:00
test.go fix(ci): Split programgen tests over more jobs 2022-10-16 23:20:45 -07:00
utilities.go Don't remove existing capitals in python names 2022-10-17 10:40:59 -07:00
utilities_test.go Merge #11052 2022-10-18 01:15:49 +00:00