File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11name : Build mkl-service with clang
2+
23on :
3- pull_request :
44 push :
5- branches : [master]
5+ branches :
6+ - master
7+ pull_request :
68
79permissions : read-all
810
Original file line number Diff line number Diff line change 11name : Conda package
22
3- on : push
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
48
59permissions : read-all
610
@@ -218,6 +222,8 @@ jobs:
218222 restore-keys : |
219223 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
220224 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
225+ # add intel-openmp as an explicit dependency
226+ # to avoid it being missed when package version is specified exactly
221227 - name : Install mkl-service
222228 shell : cmd
223229 run : |
@@ -227,7 +233,8 @@ jobs:
227233 FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
228234 SET PACKAGE_VERSION=%%F
229235 )
230- conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
236+ SET "WORKAROUND_DEPENDENCIES=intel-openmp"
237+ conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %WORKAROUND_DEPENDENCIES% pytest python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
231238 # Test installed packages
232239 conda list
233240 - name : Run tests
You can’t perform that action at this time.
0 commit comments