Skip to content

Commit d0fb2d2

Browse files
committed
Use runner.debug
1 parent 67bd754 commit d0fb2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ jobs:
327327
WP_CLI_TEST_DBTYPE: ${{ matrix.dbtype || 'mysql' }}
328328
WP_CLI_TEST_DBSOCKET: '${{ steps.setup-mysql.outputs.base-dir }}/tmp/mysql.sock'
329329
WP_CLI_TEST_COVERAGE: ${{ matrix.coverage }}
330-
BEHAT_ARGS: ${{ matrix.coverage && env.RUNNER_DEBUG && '--debug --format=pretty' || matrix.coverage && '--debug' || env.RUNNER_DEBUG && '--format=pretty' || '' }}
330+
BEHAT_ARGS: ${{ matrix.coverage && runner.debug && '--debug --format=pretty' || matrix.coverage && '--debug' || runner.debug && '--format=pretty' || '' }}
331331
run: |
332332
composer behat -- $BEHAT_ARGS || composer behat-rerun -- $BEHAT_ARGS
333333

0 commit comments

Comments
 (0)