Skip to content

Commit 9bde354

Browse files
committed
Set test_upload_report to choice type in e2e-test.yml
1 parent 812c288 commit 9bde354

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ on:
4343
- 'false'
4444
test_report_upload:
4545
description: 'Indicates whether to upload the test report to object storage. Defaults to "false"'
46-
type: boolean
46+
type: choice
4747
required: false
48-
default: false
48+
default: 'false'
49+
options:
50+
- 'true'
51+
- 'false'
4952
push:
5053
branches:
5154
- main
@@ -178,7 +181,7 @@ jobs:
178181
runs-on: ubuntu-latest
179182
needs: [integration-tests]
180183
# Run even if integration tests fail on main repository AND push event OR test_report_upload is true in case of manual run
181-
if: always() && github.repository == 'linode/linode_api4-python' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.test_report_upload))
184+
if: always() && github.repository == 'linode/linode_api4-python' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.test_report_upload == 'true'))
182185
outputs:
183186
summary: ${{ steps.set-test-summary.outputs.summary }}
184187

0 commit comments

Comments
 (0)