File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Build mkl-service with clang
2
+
2
3
on :
3
- pull_request :
4
4
push :
5
- branches : [master]
5
+ branches :
6
+ - master
7
+ pull_request :
6
8
7
9
permissions : read-all
8
10
Original file line number Diff line number Diff line change 1
1
name : Conda package
2
2
3
- on : push
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
4
8
5
9
permissions : read-all
6
10
@@ -218,6 +222,8 @@ jobs:
218
222
restore-keys : |
219
223
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
220
224
${{ 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
221
227
- name : Install mkl-service
222
228
shell : cmd
223
229
run : |
@@ -227,7 +233,8 @@ jobs:
227
233
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
228
234
SET PACKAGE_VERSION=%%F
229
235
)
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 }}
231
238
# Test installed packages
232
239
conda list
233
240
- name : Run tests
You can’t perform that action at this time.
0 commit comments