Skip to content

Commit 035a655

Browse files
committed
use string instead of array
1 parent d1e8aea commit 035a655

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/testing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,20 +327,20 @@ jobs:
327327
WP_CLI_TEST_DBSOCKET: '${{ steps.setup-mysql.outputs.base-dir }}/tmp/mysql.sock'
328328
WP_CLI_TEST_COVERAGE: ${{ matrix.coverage }}
329329
run: |
330-
ARGS=()
330+
ARGS=""
331331
332332
if [[ $WP_CLI_TEST_COVERAGE == 'true' ]]; then
333333
# The flag was only added in v3.17.0
334334
if composer behat -- --help 2>/dev/null | grep xdebug; then
335-
ARGS+=("--xdebug")
335+
ARGS+=" --xdebug"
336336
fi
337337
fi
338338
339339
if [[ $RUNNER_DEBUG == '1' ]]; then
340-
ARGS+=("--format=pretty")
340+
ARGS+=" --format=pretty"
341341
fi
342342
343-
composer behat -- "${ARGS[@]}" || composer behat-rerun -- "${ARGS[@]}"
343+
composer behat -- $ARGS || composer behat-rerun -- $ARGS
344344
345345
- name: Retrieve list of coverage files
346346
id: coverage_files

0 commit comments

Comments
 (0)