@@ -6,7 +6,6 @@ permissions: read-all
6
6
7
7
env :
8
8
PACKAGE_NAME : mkl_umath
9
- MODULE_NAME : mkl_umath
10
9
VER_SCRIPT1 : " import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); d = j['mkl_umath'][0];"
11
10
VER_SCRIPT2 : " print('='.join((d[s] for s in ('version', 'build'))))"
12
11
15
14
runs-on : ubuntu-latest
16
15
strategy :
17
16
matrix :
18
- python : ['3.10', ' 3.11', ' 3.12' ]
17
+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
19
18
steps :
20
19
21
20
with :
68
67
69
68
strategy :
70
69
matrix :
71
- python : ['3.10', ' 3.11', ' 3.12' ]
70
+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
72
71
experimental : [false]
73
72
runner : [ubuntu-latest]
74
73
continue-on-error : ${{ matrix.experimental }}
@@ -122,18 +121,24 @@ jobs:
122
121
# Test installed packages
123
122
conda list -n test_mkl_umath
124
123
125
- - name : Run tests
124
+ - name : Smoke test
126
125
run : |
127
126
source $CONDA/etc/profile.d/conda.sh
128
127
conda activate test_mkl_umath
129
128
python -c "import mkl_umath, numpy as np; mkl_umath.use_in_numpy(); np.sin(np.linspace(0, 1, num=10**6));"
130
129
130
+ - name : Smoke test
131
+ run : |
132
+ source $CONDA/etc/profile.d/conda.sh
133
+ conda activate test_mkl_umath
134
+ pytest -v --pyargs ${{ env.PACKAGE_NAME }}
135
+
131
136
build_windows :
132
137
runs-on : windows-2019
133
138
134
139
strategy :
135
140
matrix :
136
- python : ['3.10', ' 3.11', ' 3.12' ]
141
+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
137
142
env :
138
143
conda-bld : C:\Miniconda\conda-bld\win-64\
139
144
steps :
@@ -192,7 +197,7 @@ jobs:
192
197
shell : cmd /C CALL {0}
193
198
strategy :
194
199
matrix :
195
- python : ['3.10', ' 3.11', ' 3.12' ]
200
+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
196
201
experimental : [false]
197
202
runner : [windows-2019]
198
203
continue-on-error : ${{ matrix.experimental }}
@@ -306,7 +311,12 @@ jobs:
306
311
echo "Value of CONDA_PREFIX enviroment variable was: " %CONDA_PREFIX%
307
312
conda info && conda list -n mkl_umath_test
308
313
309
- - name : Run tests
314
+ - name : Smoke test
310
315
shell : cmd /C CALL {0}
311
316
run : >-
312
- conda activate mkl_umath_test && python -c "import mkl_umath, numpy as np; mkl_umath.use_in_numpy(); np.sin(np.linspace(0, 1, num=10**6));"
317
+ conda activate mkl_umath_test && python -c "import mkl_umath, numpy as np; mkl_umath.use_in_numpy(); np.sin(np.linspace(0, 1, num=10**6));"
318
+
319
+ - name : Smoke test
320
+ shell : cmd /C CALL {0}
321
+ run : |
322
+ conda activate mkl_umath_test && python -m pytest -v -s --pyargs ${{ env.PACKAGE_NAME }}
0 commit comments