Skip to content

Commit

Permalink
OXDEV-7733 Cleanup not supported for this branch run configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Apr 4, 2024
1 parent d9bc9cd commit 449e487
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/dispatch_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,17 @@ on:
type: choice
options:
- 7.0.x
- 7.1.x
- 8.0.x
- use custom testplan
default: '7.0.x'
description: 'Choose test scenario'
limit:
type: choice
options:
options:
- 'no'
- 'PHP8.0/MySQL5.7'
- 'PHP8.0/MySQL8.0'
- 'PHP8.1/MySQL5.7'
- 'PHP8.1/MySQL8.0'
- 'PHP8.2/MySQL5.7'
- 'PHP8.2/MySQL8.0'
- 'PHP8.3/MySQL5.7'
- 'PHP8.3/MySQL8.0'
default: 'PHP8.1/MySQL5.7'
description: 'Limit to one PHP/MySQL combination'
custom_testplan:
Expand Down Expand Up @@ -60,10 +54,6 @@ jobs:
"PHP8.0/MySQL8.0") LIMIT='~/defaults/php8.0_mysql8.0_only.yml,' ;;
"PHP8.1/MySQL5.7") LIMIT='~/defaults/php8.1_mysql5.7_only.yml,' ;;
"PHP8.1/MySQL8.0") LIMIT='~/defaults/php8.1_mysql8.0_only.yml,' ;;
"PHP8.2/MySQL5.7") LIMIT='~/defaults/php8.2_mysql5.7_only.yml,' ;;
"PHP8.2/MySQL8.0") LIMIT='~/defaults/php8.2_mysql8.0_only.yml,' ;;
"PHP8.3/MySQL5.7") LIMIT='~/defaults/php8.3_mysql5.7_only.yml,' ;;
"PHP8.3/MySQL8.0") LIMIT='~/defaults/php8.3_mysql8.0_only.yml,' ;;
*) echo "Illegal choice, fix the workflow"
exit 1
;;
Expand All @@ -73,14 +63,6 @@ jobs:
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="~/defaults/7.0.x.yml,${LIMIT}~/module-template.yml"
;;
"7.1.x")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="~/defaults/7.1.x.yml,${LIMIT}~/module-template.yml"
;;
"8.0.x")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="${LIMIT}~/module-template.yml"
;;
"use custom testplan")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="${{ inputs.custom_testplan }}"
Expand Down

0 comments on commit 449e487

Please sign in to comment.