Skip to content

Commit 313750a

Browse files
authored
Merge pull request python-quantities#229 from apdavison/ci-update
Update CI test matrix
2 parents dfdae84 + 9a140dd commit 313750a

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,27 @@ jobs:
1313
matrix:
1414
os: [ ubuntu-latest ]
1515
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
16-
numpy-version: [ "1.19", "1.20", "1.21", "1.22", "1.23", "1.24" ]
16+
numpy-version: [ "1.20", "1.21", "1.22", "1.23", "1.24", "1.25", "1.26" ]
1717
exclude:
18-
- python-version: "3.10"
19-
numpy-version: "1.19"
18+
- python-version: "3.8"
19+
numpy-version: "1.25"
20+
os: ubuntu-latest
21+
- python-version: "3.8"
22+
numpy-version: "1.26"
2023
os: ubuntu-latest
2124
- python-version: "3.10"
2225
numpy-version: "1.20"
2326
os: ubuntu-latest
24-
- python-version: "3.11"
25-
numpy-version: "1.19"
26-
os: ubuntu-latest
2727
- python-version: "3.11"
2828
numpy-version: "1.20"
2929
os: ubuntu-latest
3030
- python-version: "3.11"
3131
numpy-version: "1.21"
3232
os: ubuntu-latest
33+
include:
34+
- python-version: "3.12"
35+
numpy-version: "1.26"
36+
os: ubuntu-latest
3337
steps:
3438
- uses: actions/checkout@v2
3539

@@ -55,6 +59,7 @@ jobs:
5559
- name: Install dependencies
5660
run: |
5761
python -m pip install -U pip
62+
python -m pip install -U setuptools
5863
python -m pip install -U wheel
5964
python -m pip install -U pytest
6065
python -m pip install "numpy==${{ matrix.numpy-version }}"
@@ -75,7 +80,18 @@ jobs:
7580
matrix:
7681
os: [ ubuntu-latest ]
7782
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
78-
numpy-version: [ "1.22", "1.23", "1.24" ]
83+
numpy-version: [ "1.22", "1.23", "1.24", "1.25", "1.26" ]
84+
exclude:
85+
- python-version: "3.8"
86+
numpy-version: "1.25"
87+
os: ubuntu-latest
88+
- python-version: "3.8"
89+
numpy-version: "1.26"
90+
os: ubuntu-latest
91+
include:
92+
- python-version: "3.12"
93+
numpy-version: "1.26"
94+
os: ubuntu-latest
7995
steps:
8096
- uses: actions/checkout@v2
8197

@@ -101,6 +117,7 @@ jobs:
101117
- name: Install dependencies
102118
run: |
103119
python -m pip install -U pip
120+
python -m pip install -U setuptools
104121
python -m pip install -U wheel
105122
python -m pip install "numpy==${{ matrix.numpy-version }}"
106123
python -m pip install -U mypy

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
"Topic :: Scientific/Engineering"
2626
]
2727
dependencies = [
28-
"numpy>=1.19"
28+
"numpy>=1.20"
2929
]
3030
dynamic = ["version"]
3131

0 commit comments

Comments
 (0)