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,15 +20,15 @@ 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
permissions :
27
27
contents : read
28
28
29
29
jobs :
30
- testacc :
31
- name : Acceptance Test
30
+ acceptance :
31
+ name : Acceptance Tests (Terraform ${{ matrix.terraform-version }}, Cloudstack ${{ matrix.cloudstack-version }})
32
32
runs-on : ubuntu-22.04
33
33
env :
34
34
CLOUDSTACK_API_URL : http://localhost:8080/client/api
@@ -76,18 +76,35 @@ jobs:
76
76
- name : Create extra resources
77
77
run : |
78
78
cmk -u $CLOUDSTACK_API_URL -k $CLOUDSTACK_API_KEY -s $CLOUDSTACK_SECRET_KEY -o json create project name=terraform displaytext=terraform
79
+ - uses : hashicorp/setup-terraform@v2
80
+ with :
81
+ terraform_version : ${{ matrix.terraform-version }}
82
+ terraform_wrapper : false
79
83
- name : Run acceptance test
80
84
run : |
81
85
make testacc
82
86
services :
83
87
cloudstack-simulator :
84
- image : apache/cloudstack-simulator:${{ matrix.cloudstack_version }}
88
+ image : apache/cloudstack-simulator:${{ matrix.cloudstack-version }}
85
89
ports :
86
90
- 8080:5050
87
91
strategy :
88
92
fail-fast : false
89
93
matrix :
90
- cloudstack_version :
94
+ terraform-version :
95
+ - ' 0.12.*'
96
+ - ' 0.13.*'
97
+ - ' 0.14.*'
98
+ - ' 0.15.*'
99
+ - ' 1.0.*'
100
+ - ' 1.1.*'
101
+ - ' 1.2.*'
102
+ - ' 1.3.*'
103
+ - ' 1.4.*'
104
+ - ' 1.5.*'
105
+ - ' 1.6.*'
106
+ - ' 1.7.*'
107
+ cloudstack-version :
91
108
- 4.17.2.0
92
109
- 4.18.1.0
93
110
- 4.19.0.0
You can’t perform that action at this time.
0 commit comments