File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -265,18 +265,15 @@ PIP_QUIET=0 uv run ${UV_ARGS[*]} --with pip pip list
265
265
if [ -z " $GREEN_FRAMEWORK " ]; then
266
266
# Use --capture=tee-sys so pytest prints test output inline:
267
267
# https://docs.pytest.org/en/stable/how-to/capture-stdout-stderr.html
268
- PYTEST_ARGS=" -v --capture=tee-sys --durations=5 $TEST_ARGS "
268
+ PYTEST_ARGS=( " -v" " --capture=tee-sys" " --durations=5" " $TEST_ARGS " )
269
269
if [ -n " $TEST_SUITES " ]; then
270
270
# Workaround until unittest -> pytest conversion is complete
271
271
if [[ " $TEST_SUITES " == * " default_async" * ]]; then
272
- # shellcheck disable=SC2206
273
- ASYNC_PYTEST_ARGS=(" -m asyncio" " --junitxml=xunit-results/TEST-asyncresults.xml" $PYTEST_ARGS )
272
+ ASYNC_PYTEST_ARGS=(" -m asyncio" " --junitxml=xunit-results/TEST-asyncresults.xml" " ${PYTEST_ARGS[@]} " )
274
273
else
275
- # shellcheck disable=SC2206
276
- ASYNC_PYTEST_ARGS=(" -m asyncio and $TEST_SUITES " " --junitxml=xunit-results/TEST-asyncresults.xml" $PYTEST_ARGS )
274
+ ASYNC_PYTEST_ARGS=(" -m asyncio and $TEST_SUITES " " --junitxml=xunit-results/TEST-asyncresults.xml" " ${PYTEST_ARGS[@]} " )
277
275
fi
278
- # shellcheck disable=SC2206
279
- PYTEST_ARGS=(" -m $TEST_SUITES and not asyncio" $PYTEST_ARGS )
276
+ PYTEST_ARGS=(" -m $TEST_SUITES and not asyncio" " ${PYTEST_ARGS[@]} " )
280
277
fi
281
278
# shellcheck disable=SC2048
282
279
uv run ${UV_ARGS[*]} pytest " ${PYTEST_ARGS[@]} "
You can’t perform that action at this time.
0 commit comments