You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The codegen tests read the shared test corpus (schemas, PCL programs,
types.json) from tests/testdata/codegen in pulumi/pulumi, previously
reached through the submodule. At 11MB across ~2,250 files the corpus is
too large to vendor, so `make test_codegen` now fetches it into the
gitignored pulumi-language-dotnet/codegen/testdata/upstream directory
via a sparse clone of the version pinned in go.mod. A version stamp
skips the download when the corpus is already current. The script uses
cp instead of rsync so it also runs under Git Bash on Windows.
Copy file name to clipboardExpand all lines: pulumi-language-dotnet/AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ Go language host for Pulumi .NET. Invoked by the Pulumi CLI to build, run, and g
9
9
-`codegen/gen.go` — code generation from Pulumi schemas to C#
10
10
-`codegen/gen_program.go` — PCL to C# transpilation
11
11
-`codegen/testdata/` — golden files for codegen tests
12
+
-`codegen/testdata/upstream/` — gitignored codegen test corpus (schemas, PCL programs) fetched from the pinned pulumi/pulumi version by `make codegen_testdata`
12
13
-`testdata/` — conformance test fixtures (projects and SDKs)
13
14
-`version/` — version string injected at build time via `-ldflags`
0 commit comments