pulumi/pkg/codegen/go
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
doc.go Expose external package cache + global default (Take 2) (#10368) 2022-08-12 20:04:21 +02:00
doc_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.go Revert "Revert "Go and Python codegen support symbols with hyphens in their names"" 2022-10-17 09:37:07 -07:00
gen_crd2pulumi.go Expose external package cache + global default (Take 2) (#10368) 2022-08-12 20:04:21 +02:00
gen_program.go Add `modulePath` to go 2022-10-10 16:01:53 -07:00
gen_program_expression_test.go Handle long traversals in a nicer way (#9726) 2022-06-02 09:36:33 -07:00
gen_program_expressions.go Fix codegen for __apply functions 2022-09-28 10:32:33 -07:00
gen_program_json.go Reify `Input` and `Optional` types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
gen_program_optionals.go [codegen/go] Improve optional params in invoke 2022-02-01 11:44:40 -08:00
gen_program_read_dir.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
gen_program_splat.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
gen_program_ternaries.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
gen_program_test.go fix(ci): Split programgen tests over more jobs 2022-10-16 23:20:45 -07:00
gen_program_utils.go Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
gen_spill.go Reify `Input` and `Optional` types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
gen_test.go Revert "Revert "Go and Python codegen support symbols with hyphens in their names"" 2022-10-17 09:37:07 -07:00
importer.go Add `modulePath` to go 2022-10-10 16:01:53 -07:00
test.go fix(ci): Split programgen tests over more jobs 2022-10-16 23:20:45 -07:00
utilities.go Revert "Revert "Go and Python codegen support symbols with hyphens in their names"" 2022-10-17 09:37:07 -07:00
utilities_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00