Skip to content

Commit 24b67a8

Browse files
danhphantwiecki
authored andcommitted
Bump python versions for tests
1 parent 86bd65b commit 24b67a8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/test.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
python-version: '3.9'
5858
- uses: pre-commit/action@v3.0.0
5959

60-
test:
60+
test_ubuntu:
6161
name: "Test py${{ matrix.python-version }} : fast-compile ${{ matrix.fast-compile }} : float32 ${{ matrix.float32 }} : ${{ matrix.part }}"
6262
needs:
6363
- changes
@@ -67,7 +67,7 @@ jobs:
6767
strategy:
6868
fail-fast: true
6969
matrix:
70-
python-version: ["3.7", "3.9"]
70+
python-version: ["3.8", "3.10"]
7171
fast-compile: [0,1]
7272
float32: [0,1]
7373
install-numba: [1]
@@ -82,14 +82,14 @@ jobs:
8282
- "tests/tensor/test_basic.py tests/tensor/test_inplace.py"
8383
- "tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
8484
exclude:
85-
- python-version: "3.7"
85+
- python-version: "3.8"
8686
fast-compile: 0
8787
float32: 1
88-
- python-version: "3.9"
88+
- python-version: "3.10"
8989
fast-compile: 1
90-
- python-version: "3.9"
90+
- python-version: "3.10"
9191
float32: 1
92-
- python-version: "3.9"
92+
- python-version: "3.10"
9393
part: "tests/tensor/test_math.py"
9494
steps:
9595
- uses: actions/checkout@v3
@@ -208,10 +208,10 @@ jobs:
208208
if: ${{ always() }}
209209
runs-on: ubuntu-latest
210210
name: "All tests"
211-
needs: [changes, style, test]
211+
needs: [changes, style, test_ubuntu]
212212
steps:
213213
- name: Check build matrix status
214-
if: ${{ needs.changes.outputs.changes == 'true' && (needs.style.result != 'success' || needs.test.result != 'success') }}
214+
if: ${{ needs.changes.outputs.changes == 'true' && (needs.style.result != 'success' || needs.test_ubuntu.result != 'success') }}
215215
run: exit 1
216216

217217
upload-coverage:

0 commit comments

Comments
 (0)