@@ -6,7 +6,6 @@ permissions: read-all
66
77env :
88 PACKAGE_NAME : mkl_umath
9- MODULE_NAME : mkl_umath
109 VER_SCRIPT1 : " import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); d = j['mkl_umath'][0];"
1110 VER_SCRIPT2 : " print('='.join((d[s] for s in ('version', 'build'))))"
1211
1514 runs-on : ubuntu-latest
1615 strategy :
1716 matrix :
18- python : ['3.10', ' 3.11', ' 3.12' ]
17+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
1918 steps :
20192120 with :
6867
6968 strategy :
7069 matrix :
71- python : ['3.10', ' 3.11', ' 3.12' ]
70+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
7271 experimental : [false]
7372 runner : [ubuntu-latest]
7473 continue-on-error : ${{ matrix.experimental }}
@@ -122,18 +121,24 @@ jobs:
122121 # Test installed packages
123122 conda list -n test_mkl_umath
124123
125- - name : Run tests
124+ - name : Smoke test
126125 run : |
127126 source $CONDA/etc/profile.d/conda.sh
128127 conda activate test_mkl_umath
129128 python -c "import mkl_umath, numpy as np; mkl_umath.use_in_numpy(); np.sin(np.linspace(0, 1, num=10**6));"
130129
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+
131136 build_windows :
132137 runs-on : windows-2019
133138
134139 strategy :
135140 matrix :
136- python : ['3.10', ' 3.11', ' 3.12' ]
141+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
137142 env :
138143 conda-bld : C:\Miniconda\conda-bld\win-64\
139144 steps :
@@ -192,7 +197,7 @@ jobs:
192197 shell : cmd /C CALL {0}
193198 strategy :
194199 matrix :
195- python : ['3.10', ' 3.11', ' 3.12' ]
200+ python : ["3.9", "3.10", " 3.11", " 3.12" ]
196201 experimental : [false]
197202 runner : [windows-2019]
198203 continue-on-error : ${{ matrix.experimental }}
@@ -306,7 +311,12 @@ jobs:
306311 echo "Value of CONDA_PREFIX enviroment variable was: " %CONDA_PREFIX%
307312 conda info && conda list -n mkl_umath_test
308313
309- - name : Run tests
314+ - name : Smoke test
310315 shell : cmd /C CALL {0}
311316 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