Skip to content

Commit 47b8c9d

Browse files
committed
Fix async pytest invocation for EG
1 parent 41fe61e commit 47b8c9d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.evergreen/run-tests.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,13 @@ if [ -z "$GREEN_FRAMEWORK" ]; then
271271
fi
272272
# shellcheck disable=SC2048
273273
uv run ${UV_ARGS[*]} pytest $PYTEST_ARGS
274-
PYTEST_ARGS="$PYTEST_ARGS -m asyncio"
275-
# shellcheck disable=SC2048
276-
uv run ${UV_ARGS[*]} pytest $PYTEST_ARGS
274+
275+
# Workaround until unittest -> pytest conversion is complete
276+
if [ -z "$TEST_SUITES" ]; then
277+
PYTEST_ARGS="$PYTEST_ARGS -m asyncio"
278+
# shellcheck disable=SC2048
279+
uv run ${UV_ARGS[*]} pytest $PYTEST_ARGS
280+
fi
277281
else
278282
# shellcheck disable=SC2048
279283
uv run ${UV_ARGS[*]} green_framework_test.py $GREEN_FRAMEWORK -v $TEST_ARGS

0 commit comments

Comments
 (0)