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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy