Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1769c1f

Browse files
committed
Limit usage of xdist grouping to Python 3.11
1 parentdc401b3 commit1769c1f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎azure-pipelines.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,14 @@ stages:
147147
fi
148148
echo "##vso[task.setvariable variable=VS_COVERAGE_TOOL]$TOOL"
149149
150+
if [[ $(python.version) == 3.11 ]]; then
151+
# when removing this, also remove
152+
# @pytest.mark.xdist_group(name="subprocess") from tests
153+
DIST_LOAD_GROUP=--dist=loadgroup
154+
fi
155+
echo $DIST_LOAD_GROUP
150156
PYTHONFAULTHANDLER=1 pytest -rfEsXR -n 2 \
151-
--maxfail=50 --timeout=300 --durations=25 \
152-
--dist=loadgroup \
157+
--maxfail=50 --timeout=300 --durations=25 $DIST_LOAD_GROUP \
153158
--junitxml=junit/test-results.xml --cov-report=xml --cov=lib
154159
155160
if [[ $VS_VER == 2022 ]]; then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp