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:
151
151
. $CONDA/etc/profile.d/conda.sh
152
152
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
153
153
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
155
155
# Test installed packages
156
156
conda list
157
157
- name : Run tests
158
158
run : |
159
159
. $CONDA/etc/profile.d/conda.sh
160
160
conda activate test_mkl_random
161
- nosetests -v mkl_random
161
+ pytest -vv --pyargs mkl_random
162
162
163
163
test_windows :
164
164
needs : build_windows
@@ -224,10 +224,10 @@ jobs:
224
224
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
225
225
SET PACKAGE_VERSION=%%F
226
226
)
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 }}
228
228
# Test installed packages
229
229
conda list
230
230
- name : Run tests
231
231
run : |
232
232
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