File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : " Terraform"
2
2
3
3
on :
4
- # Uncomment to enable staging
4
+ # Uncomment to enable staging deployment
5
5
# push:
6
6
# branches:
7
7
# - main
27
27
uses : hashicorp/setup-terraform@v1
28
28
with :
29
29
terraform_version : 1.0.1
30
+ terraform_wrapper : false
30
31
31
32
- name : Terraform Format
32
33
id : fmt
39
40
- name : Terraform Plan
40
41
id : plan
41
42
if : github.event_name == 'pull_request'
43
+ # Route 53 zone must already exist for this to succeed!
42
44
run : terraform plan -var db_pass=${{secrets.DB_PASS }} -no-color
43
45
continue-on-error : true
44
46
73
75
if : steps.plan.outcome == 'failure'
74
76
run : exit 1
75
77
78
+ - uses : actions/setup-go@v2
79
+ with :
80
+ go-version : ' ^1.15.5'
81
+
82
+ - name : Terratest Execution
83
+ if : github.event_name == 'pull_request'
84
+ working-directory : 08-testing/tests/terratest
85
+ run : |
86
+ go test . -v timeout 10m
87
+
76
88
- name : Check tag
77
89
id : check-tag
78
90
run : |
You can’t perform that action at this time.
0 commit comments