pulumi/pkg
Pat Gavlin d3e49ecb65
[cli, testing, github] Gather code coverage data in CI. (#8260)
These changes add support for gathering code coverage data during tests.

For tests that do not involve the Pulumi CLI, this is straightforward: all of
the ecosystems we target already support gathering coverage data, and we follow
the rules accordingly. Support for each language is broken out into its own
commit.

For tests that do involve the Pulumi CLI, the picture is a bit more complicated.
Go does not make it trivial to perform a coverage-instrumented build (go build
does not have a -cover flag, for example). In lieu of official support, we abuse
go test -c and TestMain to produce a build of the CLI that supports collecting
and reporting coverage data.
2021-11-30 17:24:01 -08:00
..
backend [backend/filestate] Don't unwrap go-cloud errors (#8455) 2021-11-19 12:21:37 -08:00
cmd/pulumi [cli, testing, github] Gather code coverage data in CI. (#8260) 2021-11-30 17:24:01 -08:00
codegen Cleanup sdk codegen tests (#8508) 2021-11-30 11:09:36 -08:00
engine Specify fields on engine diff (#8488) 2021-11-30 12:25:27 -08:00
graph Update error handling (#8406) 2021-11-12 18:37:17 -08:00
operations Update error handling (#8406) 2021-11-12 18:37:17 -08:00
resource Specify fields on engine diff (#8488) 2021-11-30 12:25:27 -08:00
secrets Update error handling (#8406) 2021-11-12 18:37:17 -08:00
testing/integration [cli, testing, github] Gather code coverage data in CI. (#8260) 2021-11-30 17:24:01 -08:00
util Update error handling (#8406) 2021-11-12 18:37:17 -08:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
go.mod [cli, testing, github] Gather code coverage data in CI. (#8260) 2021-11-30 17:24:01 -08:00
go.sum Update pkg -> sdk dependency (#8442) 2021-11-17 15:24:09 -08:00