11name : Conda package
22
3- on : push
3+ on :
4+ push :
5+ branches :
6+ tags :
47
58env :
69 PACKAGE_NAME : numba-dppy
1215
1316 strategy :
1417 matrix :
15- python : [" 3.8" ]
18+ python : [3.8, 3.9 ]
1619 integration_channels : [""]
1720 experimental : [true] # packages are not available on -c intel yet
1821 artifact_name : [""]
6871
6972 strategy :
7073 matrix :
71- python : [" 3.8" ]
74+ python : [3.8, 3.9 ]
7275 integration_channels : [""]
7376 experimental : [true] # packages are not available on -c intel yet
7477 artifact_name : [""]
@@ -118,13 +121,15 @@ jobs:
118121
119122 strategy :
120123 matrix :
121- python : ["3.8"]
124+ python : [3.8, 3.9]
125+ numba : [0.54, 0.55]
122126 integration_channels : [""]
123127 experimental : [true] # packages are not available on -c intel yet
124128 artifact_name : [""]
125129 dependencies : [""]
126130 include :
127131 - python : " 3.8"
132+ numba : 0.54
128133 integration_channels : -c dppy/label/dev
129134 artifact_name : -c dppy_label_dev
130135 experimental : false # current stable
@@ -171,7 +176,7 @@ jobs:
171176 - name : Install numba-dppy
172177 run : |
173178 CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
174- conda install $PACKAGE_NAME pytest python=${{ matrix.python }} ${{ matrix.dependencies }} $CHANNELS
179+ conda install $PACKAGE_NAME pytest python=${{ matrix.python }} numba=${{ matrix.numba }} ${{ matrix.dependencies }} $CHANNELS
175180 # Test installed packages
176181 conda list
177182 - name : Run tests
@@ -186,7 +191,7 @@ jobs:
186191
187192 strategy :
188193 matrix :
189- python : [" 3.8" ]
194+ python : [3.8, 3.9 ]
190195 integration_channels : [""]
191196 experimental : [true] # packages are not available on -c intel yet
192197 artifact_name : [""]
@@ -248,17 +253,16 @@ jobs:
248253
249254 upload_linux :
250255 needs : test_linux
251- if : ${{ github.ref == 'refs/heads/main' }}
256+ if : ${{ github.ref }} == 'refs/heads/main' || ${{ github.ref }} == 'refs/heads/release*'
252257 runs-on : ubuntu-latest
253258 strategy :
254259 matrix :
255- python : [" 3.8" ]
260+ python : [3.8, 3.9 ]
256261 steps :
257262 - name : Download artifact
258263 uses : actions/download-artifact@v2
259264 with :
260- # `-c dppy_label_dev`: packages not published on `-c intel` yet
261- name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }} -c dppy_label_dev
265+ name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
262266
263267 - name : Install anaconda-client
264268 run : conda install anaconda-client
@@ -274,17 +278,16 @@ jobs:
274278
275279 upload_windows :
276280 needs : test_windows
277- if : ${{ github.ref == 'refs/heads/main' }}
281+ if : ${{ github.ref }} == 'refs/heads/main' || ${{ github.ref }} == 'refs/heads/release*'
278282 runs-on : windows-latest
279283 strategy :
280284 matrix :
281- python : [3.8]
285+ python : [3.8, 3.9 ]
282286 steps :
283287 - name : Download artifact
284288 uses : actions/download-artifact@v2
285289 with :
286- # `-c dppy_label_dev`: packages not published on `-c intel` yet
287- name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }} -c dppy_label_dev
290+ name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
288291
289292 - uses : conda-incubator/setup-miniconda@v2
290293 with :
0 commit comments