Skip to content

Commit 5bab33a

Browse files
Allow overriding spec when manually triggering E2E test workflow #664 (#679)
Co-authored-by: ykim-1 <[email protected]>
1 parent 89fc86e commit 5bab33a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/e2e-suite.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ on:
2525
pull_request_number:
2626
description: 'The number of the PR. Ensure sha value is provided'
2727
required: false
28+
openapi_spec_url:
29+
description: 'URL of the OpenAPI spec to use for the tests'
30+
required: false
31+
default: ''
2832
python-version:
2933
description: 'Specify Python version to use'
3034
required: false
@@ -36,6 +40,7 @@ on:
3640
options:
3741
- 'true'
3842
- 'false'
43+
3944
push:
4045
branches:
4146
- main
@@ -107,7 +112,7 @@ jobs:
107112
pip install .[obj,dev]
108113
109114
- name: Install Package
110-
run: make install
115+
run: make install SPEC="${{ inputs.OPENAPI_SPEC_URL }}"
111116
env:
112117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113118

@@ -296,4 +301,4 @@ jobs:
296301
]
297302
}
298303
env:
299-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
304+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)