Skip to content

Commit 8b6f61d

Browse files
authored
CI: Remove the pytest-xdist plugin from the "Tests" and "Dev Tests" workflows (#3627)
1 parent 8ed79dc commit 8b6f61d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ jobs:
142142
pytest-doctestplus
143143
pytest-mpl
144144
pytest-rerunfailures
145-
pytest-xdist
146145
147146
# Download cached remote files (artifacts) from GitHub
148147
- name: Download remote data from GitHub
@@ -165,7 +164,7 @@ jobs:
165164

166165
# Run the regular tests
167166
- name: Run tests
168-
run: make test PYTEST_EXTRA="-r P -n auto --reruns 2"
167+
run: make test PYTEST_EXTRA="-r P --reruns 2"
169168

170169
# Upload diff images on test failure
171170
- name: Upload diff images if any test fails

.github/workflows/ci_tests_dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
--extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
154154
numpy pandas xarray netCDF4 packaging \
155155
build contextily dvc geopandas ipython pyarrow rioxarray \
156-
pytest pytest-cov pytest-doctestplus pytest-mpl pytest-rerunfailures pytest-xdist\
156+
pytest pytest-cov pytest-doctestplus pytest-mpl pytest-rerunfailures \
157157
sphinx-gallery
158158
159159
# Show installed pkg information for postmortem diagnostic
@@ -181,7 +181,7 @@ jobs:
181181

182182
# Run the tests
183183
- name: Test with pytest
184-
run: make test PYTEST_EXTRA="-r P -n auto --reruns 2"
184+
run: make test PYTEST_EXTRA="-r P --reruns 2"
185185
env:
186186
GMT_LIBRARY_PATH: ${{ runner.temp }}/gmt-install-dir/lib
187187

0 commit comments

Comments
 (0)