mirror of https://github.com/pulumi/pulumi.git
fbbde3928a
<!--- Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation. --> # Description <!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. --> Turns out in https://github.com/pulumi/pulumi/pull/14104 we typo'd the environment variable name, missing the "PULUMI_" prefix at the start. This change fixes that, and the resulting fall out of tests running with automatic plugin downloads being disabled by default. One test it made sense to actually check with and without the envvar set. All the others I've just made sure the envvar is falsy so they can fetch the plugins they want to. I've also un-skipped the tests that had been disabled due to always hitting the rate limits. Hopefully now we should be hitting github less often to allow these to pass consistently. |
||
---|---|---|
.. | ||
benchmarks/go-alias-norm | ||
examples | ||
integration | ||
testdata | ||
testprovider | ||
.gitignore | ||
README.md | ||
about_test.go | ||
config_test.go | ||
go.mod | ||
go.sum | ||
history_test.go | ||
login_test.go | ||
main_test.go | ||
policy_new_test.go | ||
remote_test.go | ||
roundtrip_test.go | ||
smoke_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) && !xplatform-acceptance
// integration_nodejs_acceptance_test.go
//go:build nodejs || all