10000 Limit usage of xdist grouping to Python 3.11 · matplotlib/matplotlib@30b38a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 30b38a7

Browse files
committed
Limit usage of xdist grouping to Python 3.11
1 parent dc401b3 commit 30b38a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,13 @@ 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
150155
PYTHONFAULTHANDLER=1 pytest -rfEsXR -n 2 \
151-
--maxfail=50 --timeout=300 --durations=25 \
152-
--dist=loadgroup \
156+
--maxfail=50 --timeout=300 --durations=25 $DIST_LOAD_GROUP \
153157
--junitxml=junit/test-results.xml --cov-report=xml --cov=lib
154158
155159
if [[ $VS_VER == 2022 ]]; then

0 commit comments

Comments
 (0)
0