Skip to content

Commit e645b87

Browse files
committed
allow running only single services via workflow dispatch
1 parent 7e0e294 commit e645b87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tf-acc-test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ on:
44
push:
55
branches: ["main"]
66
workflow_dispatch:
7+
all:
8+
type: boolean
9+
description: "Run ACC tests for all services"
10+
loadbalancer:
11+
type: boolean
12+
iaas:
13+
type: boolean
714

815
jobs:
916
main:
@@ -27,6 +34,7 @@ jobs:
2734
organization-id: "d83100e9-9be4-45ad-b874-28166786ec0c"
2835
parent-container-id: "developer-tools-test-DueErq1"
2936
parent-uuid: "d83100e9-9be4-45ad-b874-28166786ec0c"
37+
if: ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && (github.event.inputs[matrix.service] || github.event.inputs.all)) }}
3038
steps:
3139
- name: Checkout
3240
uses: actions/checkout@v4

0 commit comments

Comments
 (0)