mirror of https://github.com/pulumi/pulumi.git
625 B
625 B
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
When running tests locally, make sure you run:
$ go test --tags=nodejs -run 'TestName' .
to run a test TestName
which is tagged with the nodejs
build tag.