Skip to content

Commit

Permalink
chore: add retries_count and all test risk option on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Nov 14, 2024
1 parent b45c0f5 commit 998e173
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/android-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:

RISK:
description: 'risks to target'
required: true
required: false
type: choice
options:
- 'high-risk'
- 'medium-risk'
- 'low-risk'
default: 'high-risk'
- ''

APPIUM_REPO:
description: 'appium repo to checkout'
Expand Down Expand Up @@ -58,6 +58,16 @@ on:
# - '4'
# default: '1'

PLAYWRIGHT_RETRIES_COUNT:
description: 'retries of failing tests to do at most'
required: true
type: choice
options:
- '0'
- '1'
- '2'
default: '0'

PRINT_FAILED_TEST_LOGS:
description: 'print failed test logs (1 to enable)'
required: true
Expand All @@ -66,7 +76,6 @@ on:
- '0'
- '1'
default: '0'

PRINT_ONGOING_TEST_LOGS:
description: 'print ongoing test logs (1 to enable)'
required: true
Expand All @@ -88,7 +97,7 @@ jobs:
APPIUM_ADB_FULL_PATH: '/opt/android/platform-tools/adb'
ANDROID_SDK_ROOT: '/opt/android'
PLAYWRIGHT_WORKERS_COUNT: 1
PLAYWRIGHT_RETRIES_COUNT: 0
PLAYWRIGHT_RETRIES_COUNT: ${{ github.event.inputs.PLAYWRIGHT_RETRIES_COUNT }}
PRINT_FAILED_TEST_LOGS: ${{ github.event.inputs.PRINT_FAILED_TEST_LOGS }}
PRINT_ONGOING_TEST_LOGS: ${{ github.event.inputs.PRINT_ONGOING_TEST_LOGS }}
IOS_APP_PATH_PREFIX: 'just_not_empty'
Expand Down

0 comments on commit 998e173

Please sign in to comment.