File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,9 @@ jobs:
225
225
restore-keys : |
226
226
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
227
227
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
228
+
229
+ # add intel-openmp as an explicit dependency
230
+ # to avoid it being missed when package version is specified exactly
228
231
- name : Install mkl_random
229
232
shell : cmd
230
233
run : |
@@ -234,7 +237,8 @@ jobs:
234
237
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
235
238
SET PACKAGE_VERSION=%%F
236
239
)
237
- conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} numpy=${{ matrix.numpy }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
240
+ SET "WORKAROUND_DEPENDENCIES=intel-openmp"
241
+ conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %WORKAROUND_DEPENDENCIES% pytest python=${{ matrix.python }} numpy=${{ matrix.numpy }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
238
242
# Test installed packages
239
243
conda list
240
244
- name : Run tests
You can’t perform that action at this time.
0 commit comments