Skip to content

Commit caf4aed

Browse files
committed
revert: restore original .github/workflows/test-random-execution.yml from develop
1 parent 7d64fd6 commit caf4aed

1 file changed

Lines changed: 10 additions & 18 deletions

File tree

.github/workflows/test-random-execution.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ on:
5151
description: Per-component timeout in seconds (0 disables)
5252
type: string
5353
required: false
54-
default: '600'
54+
default: '300'
5555

5656
concurrency:
5757
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -177,7 +177,7 @@ jobs:
177177
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
178178
with:
179179
php-version: ${{ matrix.php-version }}
180-
extensions: gd, curl, iconv, json, mbstring, openssl, sodium, mysqli, oci8, pgsql, sqlsrv, sqlite3
180+
extensions: gd, curl, iconv, json, mbstring, openssl, sodium
181181
ini-values: opcache.enable_cli=0
182182
coverage: none
183183

@@ -212,24 +212,16 @@ jobs:
212212
args+=("--component" "${{ inputs.component }}")
213213
fi
214214
215-
# OCI8 connects to a single shared schema (FREEPDB1) via DSN, so
216-
# components cannot be isolated with per-component databases like
217-
# MySQLi/Postgre/SQLSRV. Running components in parallel makes
218-
# e.g. Commands' migrate:rollback drop tables that Database tests
219-
# rely on (ORA-00942/04043/08103). Run Oracle sequentially with
220-
# default repeat 2 to avoid schema collisions and timeouts.
221-
if [[ "${{ matrix.db-platform }}" == "Oracle" ]]; then
222-
args+=("--max-jobs" "2")
223-
args+=("--repeat" "${{ inputs.repeat || '10' }}")
224-
else
225-
if [[ -n "${{ inputs.max-jobs }}" ]]; then
226-
args+=("--max-jobs" "${{ inputs.max-jobs }}")
227-
fi
228-
args+=("--repeat" "${{ inputs.repeat || '10' }}")
215+
# Add --max-jobs flag if specified (empty means auto-detect)
216+
if [[ -n "${{ inputs.max-jobs }}" ]]; then
217+
args+=("--max-jobs" "${{ inputs.max-jobs }}")
229218
fi
230219
231-
# Add --timeout flag (always, default is 600)
232-
args+=("--timeout" "${{ inputs.timeout || '600' }}")
220+
# Add --repeat flag (always, default is 10)
221+
args+=("--repeat" "${{ inputs.repeat || '10' }}")
222+
223+
# Add --timeout flag (always, default is 300)
224+
args+=("--timeout" "${{ inputs.timeout || '300' }}")
233225
234226
.github/scripts/run-random-tests.sh "${args[@]}"
235227
env:

0 commit comments

Comments
 (0)