File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ name: Acceptance Test
20
20
on : [push, pull_request]
21
21
22
22
concurrency :
23
- group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-testacc
23
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-acceptance
24
24
cancel-in-progress : true
25
25
26
26
jobs :
27
- testacc :
28
- name : Acceptance Test
27
+ acceptance :
28
+ name : Acceptance Tests (Terraform ${{ matrix.terraform-version }}, Cloudstack ${{ matrix.cloudstack-version }})
29
29
runs-on : ubuntu-22.04
30
30
env :
31
31
CLOUDSTACK_API_URL : http://localhost:8080/client/api
@@ -73,18 +73,35 @@ jobs:
73
73
- name : Create extra resources
74
74
run : |
75
75
cmk -u $CLOUDSTACK_API_URL -k $CLOUDSTACK_API_KEY -s $CLOUDSTACK_SECRET_KEY -o json create project name=terraform displaytext=terraform
76
+ - uses : hashicorp/setup-terraform@v2
77
+ with :
78
+ terraform_version : ${{ matrix.terraform-version }}
79
+ terraform_wrapper : false
76
80
- name : Run acceptance test
77
81
run : |
78
82
make testacc
79
83
services :
80
84
cloudstack-simulator :
81
- image : apache/cloudstack-simulator:${{ matrix.cloudstack_version }}
85
+ image : apache/cloudstack-simulator:${{ matrix.cloudstack-version }}
82
86
ports :
83
87
- 8080:5050
84
88
strategy :
85
89
fail-fast : false
86
90
matrix :
87
- cloudstack_version :
91
+ terraform-version :
92
+ - ' 0.12.*'
93
+ - ' 0.13.*'
94
+ - ' 0.14.*'
95
+ - ' 0.15.*'
96
+ - ' 1.0.*'
97
+ - ' 1.1.*'
98
+ - ' 1.2.*'
99
+ - ' 1.3.*'
100
+ - ' 1.4.*'
101
+ - ' 1.5.*'
102
+ - ' 1.6.*'
103
+ - ' 1.7.*'
104
+ cloudstack-version :
88
105
- 4.17.2.0
89
106
- 4.18.1.0
90
107
- 4.19.0.0
You can’t perform that action at this time.
0 commit comments