File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,14 +151,14 @@ jobs:
151151 . $CONDA/etc/profile.d/conda.sh
152152 CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
153153 export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
154- conda create -n test_mkl_random $PACKAGE_NAME=${PACKAGE_VERSION} nose python=${{ matrix.python }} $CHANNELS
154+ conda create -n test_mkl_random $PACKAGE_NAME=${PACKAGE_VERSION} pytest python=${{ matrix.python }} $CHANNELS
155155 # Test installed packages
156156 conda list
157157 - name : Run tests
158158 run : |
159159 . $CONDA/etc/profile.d/conda.sh
160160 conda activate test_mkl_random
161- nosetests -v mkl_random
161+ pytest -vv --pyargs mkl_random
162162
163163 test_windows :
164164 needs : build_windows
@@ -224,10 +224,10 @@ jobs:
224224 FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
225225 SET PACKAGE_VERSION=%%F
226226 )
227- conda create -n test_mkl_random ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% nose python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
227+ conda create -n test_mkl_random ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
228228 # Test installed packages
229229 conda list
230230 - name : Run tests
231231 run : |
232232 conda activate -n test_mkl_random
233- nosetests -v ${{ env.MODULE_NAME }}
233+ pytest -v --pyargs ${{ env.MODULE_NAME }}
You can’t perform that action at this time.
0 commit comments