File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,8 @@ jobs:
280280 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
281281 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
282282
283+ # add intel-openmp as an explicit dependency
284+ # to avoid it being missed when package version is specified exactly
283285 - name : Install mkl_umath
284286 shell : cmd /C CALL {0}
285287 run : |
@@ -292,7 +294,9 @@ jobs:
292294 SET PACKAGE_VERSION=%%F
293295 )
294296 SET "TEST_DEPENDENCIES=pytest pytest-cov"
295- conda install -n mkl_umath_test ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
297+ SET "WORKAROUND_DEPENDENCIES=intel-openmp"
298+ SET "DEPENDENCIES=%TEST_DEPENDENCIES% %WORKAROUND_DEPENDENCIES%"
299+ conda install -n mkl_umath_test ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
296300
297301 - name : Report content of test environment
298302 shell : cmd /C CALL {0}
You can’t perform that action at this time.
0 commit comments