mirror of https://github.com/pulumi/pulumi.git
6d2492f04b
Stacked on PR#11964, this more aggressively updates dependencies that are common between multiple go.mod files and updates dependencies of test modules. The result of this and previous PRs is: * Greater confidence that we are testing against and relying on more recently reviewed upstream dependencies * A >50% reduction in module size to download all of the dependencies of the CLI repository. This commit was created by running: ```sh (cd pkg && go get -u ./...) (cd tests && go get -u ./...) make tidy ``` |
||
---|---|---|
.. | ||
benchmarks/go-alias-norm | ||
examples | ||
integration | ||
testprovider | ||
.gitignore | ||
README.md | ||
about_test.go | ||
config_test.go | ||
go.mod | ||
go.sum | ||
history_test.go | ||
login_test.go | ||
main_test.go | ||
remote_test.go | ||
roundtrip_test.go | ||
stack_test.go |
README.md
Integration Tests
This module provides integration tests for the Pulumi CLI.
The tests can be run via:
make test_all
Usage of Go build tags
In order to speed up integration tests in GitHub actions, Go build tags are used to conditionally compile the desired test cases.
// integration_nodejs_test.go
//go:build (nodejs || all) && !smoke
// integration_nodejs_smoke_test.go
//go:build nodejs || all