Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,23 @@ lint_pkg_dependencies:
# Run a custom integration test or example.
# Example: make test_example.aws-java-webserver
test_example.%: bin/pulumi-language-java
cd tests/examples && PATH="${PWD}/bin:${PATH}" go test -run "TestExamples/^$*$$" -test.v
cd tests/examples && PATH="${PWD}/bin:${PATH}" go test -run "TestExamples/^$*$$"

# Test a single template, e.g.:
# make test_template.java-gradle
test_template.%: bin/pulumi-language-java
cd tests/templates && PATH="${PWD}/bin:${PATH}" go test -run "TestTemplates/^$*$$" -test.v
cd tests/templates && PATH="${PWD}/bin:${PATH}" go test -run "TestTemplates/^$*$$"

test_templates: bin/pulumi-language-java
cd tests/templates && PATH="${PWD}/bin:${PATH}" go test -test.v
cd tests/templates && PATH="${PWD}/bin:${PATH}" go test

# Test a single integration, s.g.:
# make test_integration.stack-reference
test_integration.%: bin/pulumi-language-java
cd tests/integration && PATH="${PWD}/bin:${PATH}" go test -run "TestIntegrations/^$*$$" -test.v
cd tests/integration && PATH="${PWD}/bin:${PATH}" go test -run "TestIntegrations/^$*$$"

test_integrations: bin/pulumi-language-java
cd tests/integration && PATH="${PWD}/bin:${PATH}" go test -test.v
cd tests/integration && PATH="${PWD}/bin:${PATH}" go test

codegen_tests::
cd ./pkg/codegen/java && go test ./...
Expand Down
Loading