-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (26 loc) · 919 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: get-deps
get-deps:
@echo "##############################################################"
@echo "Getting test deps"
@echo "##############################################################"
@echo ""
@echo ""
go get github.com/gruntwork-io/terratest/modules/terraform
go get github.com/gruntwork-io/terratest/modules/http-helper
go get github.com/gruntwork-io/terratest
go get github.com/aws/aws-sdk-go/aws
go get github.com/stretchr/testify
go get github.com/gruntwork-io/terratest/modules/ssh
go get github.com/gruntwork-io/terratest/modules/aws
.PHONY: test
test:
@echo ""
@echo ""
@echo "##############################################################"
@echo "Running Terratest tests suit"
@echo "##############################################################"
@echo ""
@echo ""
go test -v -count=1 -timeout 30m -parallel 10 ./test/unit/
.PHONY: build-and-test
build-and-test: get-deps test