Skip to content

Commit 812c288

Browse files
committed
Modify test_report_upload type to boolean
1 parent 705dbd5 commit 812c288

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ 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
4647
required: false
47-
default: 'false'
48-
type: choice
49-
options:
50-
- 'true'
51-
- 'false'
48+
default: false
5249
push:
5350
branches:
5451
- main
@@ -181,7 +178,7 @@ jobs:
181178
runs-on: ubuntu-latest
182179
needs: [integration-tests]
183180
# Run even if integration tests fail on main repository AND push event OR test_report_upload is true in case of manual run
184-
if: always() && github.repository == 'linode/linode_api4-python' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.test_report_upload == 'true'))
181+
if: always() && github.repository == 'linode/linode_api4-python' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.test_report_upload))
185182
outputs:
186183
summary: ${{ steps.set-test-summary.outputs.summary }}
187184

0 commit comments

Comments
 (0)