mirror of https://github.com/pulumi/pulumi.git
db8408ad1c
Poetry uses a cache for packages to speed up installation of the venv. It seems like the primitives it uses for that are causing issues when running multiple instances of poetry in parallel that are installing the same packages. This seems to happen only on Windows. Make these tests run sequentially on Windows to avoid this test flakyness. There's an upstream issue for poetry that describes this as well (https://github.com/python-poetry/poetry/issues/7370) https://github.com/pulumi/pulumi/issues/17183 |
||
---|---|---|
.. | ||
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 | ||
preview_only_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