File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,9 @@ jobs:
292
292
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
293
293
SET PACKAGE_VERSION=%%F
294
294
)
295
- SET "TEST_DEPENDENCIES=pytest pytest-cov cython"
296
- conda install -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
295
+ REM "Use ^ character to escape <"
296
+ SET "TEST_DEPENDENCIES=pytest"^<8" pytest-cov cython"
297
+ conda install -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% "%TEST_DEPENDENCIES%" python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
297
298
- name : Report content of test environment
298
299
shell : cmd /C CALL {0}
299
300
run : |
You can’t perform that action at this time.
0 commit comments