@@ -2,6 +2,16 @@ name: Integration Tests
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ tmate_enabled :
7+ type : boolean
8+ description : ' Run the build with tmate debugging enabled'
9+ required : false
10+ default : false
11+ openstack_version :
12+ description : ' Comma-separated list of Openstack versions e.g. "stable/2025.1", "unmaintained/zed"'
13+ required : false
14+ default : false
515 pull_request :
616 push :
717 branches :
@@ -19,26 +29,11 @@ jobs:
1929 strategy :
2030 fail-fast : false
2131 matrix :
22- openstack_version : [ "stable/2025.1" ]
32+ openstack_version : ${{ fromJSON(format('[{0}]', inputs.openstack_version || env.OPENSTACK_VERSIONS )) }}
2333 php_version : [ 8.1 ]
24- include :
25- - name : " epoxy"
26- openstack_version : " stable/2025.1"
27- ubuntu_version : " 22.04"
28- - name : " dalmatian"
29- openstack_version : " stable/2024.2"
30- ubuntu_version : " 22.04"
31- - name : " caracal"
32- openstack_version : " stable/2024.1"
33- ubuntu_version : " 22.04"
34- - name : " antelope"
35- openstack_version : " unmaintained/2023.1"
36- ubuntu_version : " 22.04"
37- - name : " zed"
38- openstack_version : " unmaintained/zed"
39- ubuntu_version : " 22.04"
34+ ubuntu_version : [ 22.04 ]
4035 runs-on : ubuntu-${{ matrix.ubuntu_version }}
41- name : Deploy OpenStack ${{ matrix.name }} and run integration tests with php ${{matrix.php_version}}
36+ name : Deploy OpenStack ${{ matrix.openstack_version }} and run integration tests with php ${{matrix.php_version}}
4237 steps :
4338 - uses : actions/checkout@v4
4439
@@ -123,3 +118,7 @@ jobs:
123118 with :
124119 name : failure-logs-${{ strategy.job-index }}
125120 path : failure-logs
121+
122+ - name : Setup tmate session
123+ uses : mxschmitt/action-tmate@v3
124+ if : ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.tmate_enabled }}
0 commit comments