Skip to content

Commit

Permalink
Adding a local testing target to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 authored Sep 1, 2020
1 parent c9a002b commit dc9980a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ TFGEN := pulumi-tfgen-${PACK}
PROVIDER := pulumi-resource-${PACK}
VERSION := $(shell pulumictl get version)

TESTPARALLELISM := 10

WORKING_DIR := $(shell pwd)

.PHONY: development provider build_sdks build_nodejs build_dotnet build_go build_python cleanup
Expand Down Expand Up @@ -92,3 +94,6 @@ install_nodejs_sdk::
yarn link --cwd $(WORKING_DIR)/sdk/nodejs/bin

install_sdks:: install_dotnet_sdk install_python_sdk install_nodejs_sdk

test::
cd examples && go test -v -tags=all -parallel ${TESTPARALLELISM} -timeout 2h

0 comments on commit dc9980a

Please sign in to comment.