|
51 | 51 | description: Per-component timeout in seconds (0 disables) |
52 | 52 | type: string |
53 | 53 | required: false |
54 | | - default: '600' |
| 54 | + default: '300' |
55 | 55 |
|
56 | 56 | concurrency: |
57 | 57 | group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
@@ -177,7 +177,7 @@ jobs: |
177 | 177 | uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 |
178 | 178 | with: |
179 | 179 | 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 |
181 | 181 | ini-values: opcache.enable_cli=0 |
182 | 182 | coverage: none |
183 | 183 |
|
@@ -212,24 +212,16 @@ jobs: |
212 | 212 | args+=("--component" "${{ inputs.component }}") |
213 | 213 | fi |
214 | 214 |
|
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 }}") |
229 | 218 | fi |
230 | 219 |
|
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' }}") |
233 | 225 |
|
234 | 226 | .github/scripts/run-random-tests.sh "${args[@]}" |
235 | 227 | env: |
|
0 commit comments