2021-08-24 21:29:27 +00:00
|
|
|
# Integration Tests
|
|
|
|
|
|
|
|
This module provides integration tests for the Pulumi CLI.
|
|
|
|
|
|
|
|
The tests can be run via:
|
|
|
|
|
|
|
|
``` sh
|
|
|
|
make test_all
|
|
|
|
```
|
2023-01-03 16:30:05 +00:00
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
|
|
|
```go
|
|
|
|
// integration_nodejs_test.go
|
2023-01-30 19:30:30 +00:00
|
|
|
//go:build (nodejs || all) && !xplatform-acceptance
|
2023-01-03 16:30:05 +00:00
|
|
|
|
2023-01-30 19:30:30 +00:00
|
|
|
// integration_nodejs_acceptance_test.go
|
2023-01-03 16:30:05 +00:00
|
|
|
//go:build nodejs || all
|
|
|
|
```
|