File tree Expand file tree Collapse file tree 6 files changed +9
-10
lines changed
Expand file tree Collapse file tree 6 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 2424 PIP_EXTRA_INDEX_URL="https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
2525 # assert NumPy 2.0 before running tests
2626 CIBW_TEST_COMMAND : >
27- pip list --pre --format=freeze | grep -q 'numpy==2' &&
28- (cd .. && pytest --pyargs skimage)
27+ pip list --pre --format=freeze | grep -q 'numpy==2' && pytest
2928
3029 upload_anaconda :
3130 permissions :
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ jobs:
125125 # A lazy loader configuration parameter
126126 EAGER_IMPORT : ${{ matrix.EAGER_IMPORT }}
127127 run : |
128- (cd .. && $PYTEST --doctest-plus --showlocals --pyargs skimage)
128+ $PYTEST --doctest-plus --showlocals
129129
130130 - name : Check benchmarks
131131 run : |
@@ -175,7 +175,7 @@ jobs:
175175 # A lazy loader configuration parameter
176176 EAGER_IMPORT : ${{ matrix.EAGER_IMPORT }}
177177 run : |
178- (cd .. && $PYTEST --doctest-plus --showlocals --pyargs skimage )
178+ (cd .. && $PYTEST --doctest-plus --showlocals)
179179
180180 report-failures :
181181 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 6969
7070 - name : Run tests
7171 run : |
72- (cd .. && $PYTEST --doctest-plus --showlocals --pyargs skimage)
72+ $PYTEST --doctest-plus --showlocals
7373
7474 - name : Check benchmarks
7575 run : |
Original file line number Diff line number Diff line change 6262
6363 - name : Run tests
6464 run : |
65- (cd .. && $PYTEST --doctest-plus --showlocals --pyargs skimage)
65+ $PYTEST --doctest-plus --showlocals
6666
6767 - name : " Job has failed: reporting"
6868 if : ${{ failure() && github.ref == 'refs/heads/main' }}
Original file line number Diff line number Diff line change 9292 - name : Run tests
9393 shell : bash
9494 run : |
95- (cd .. && $PYTEST --doctest-plus --showlocals --pyargs skimage)
95+ $PYTEST --doctest-plus --showlocals
9696
9797 - name : " Job has failed: reporting"
9898 if : ${{ failure() && github.ref == 'refs/heads/main' }}
Original file line number Diff line number Diff line change 1616 CIBW_TEST_COMMAND :
1717 required : false
1818 type : string
19- default : " pytest --pyargs skimage "
19+ default : " pytest"
2020
2121env :
2222 CIBW_BUILD_VERBOSITY : 1
5656 if : endsWith(matrix.cibw_python, 't-*')
5757 run : |
5858 NIGHTLY_PIP_ARGS="--pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --only-binary :all:"
59- TEST_COMMAND="PYTHON_GIL=0 pytest --pyargs skimage "
59+ TEST_COMMAND="PYTHON_GIL=0 pytest"
6060 echo "CIBW_ENABLE=cpython-prerelease cpython-freethreading" >> $GITHUB_ENV
6161 # Remove once Cython is out that supports free-threaded build
6262 echo "CIBW_BUILD_FRONTEND=pip; args: $NIGHTLY_PIP_ARGS" >> $GITHUB_ENV
@@ -278,4 +278,4 @@ jobs:
278278 CIBW_TEST_REQUIRES_PYODIDE : " pytest astropy cloudpickle dask[array] matplotlib PyWavelets scikit-learn"
279279 # Don't use the cache provider plugin, as it doesn't work with Pyodide
280280 # right now: https://github.com/pypa/cibuildwheel/issues/1966
281- CIBW_TEST_COMMAND_PYODIDE : " pytest -svra -p no:cacheprovider --pyargs skimage "
281+ CIBW_TEST_COMMAND_PYODIDE : " pytest -svra -p no:cacheprovider"
You can’t perform that action at this time.
0 commit comments