Skip to content

Commit 5efa575

Browse files
test python 3.10, 3.11 and 3.12
1 parent 28f3c5c commit 5efa575

File tree

5 files changed

+19
-20
lines changed

5 files changed

+19
-20
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ on:
1313
jobs:
1414
test:
1515
runs-on: ubuntu-latest
16-
16+
strategy:
17+
matrix:
18+
python-version:
19+
- "3.10"
20+
- "3.11"
21+
- "3.12"
1722
steps:
1823
- name: Checkout code
1924
uses: actions/checkout@v4
@@ -22,12 +27,9 @@ jobs:
2227
uses: astral-sh/setup-uv@v5
2328
with:
2429
# Install a specific version of uv.
25-
version: "0.6.6"
26-
27-
- name: "Set up Python"
28-
uses: actions/setup-python@v5
29-
with:
30-
python-version-file: ".python-version"
30+
enable-cache: true
31+
version: "0.6.12"
32+
python-version: ${{ matrix.python-version }}
3133

3234
- name: Install the project
3335
run: uv sync --all-extras --dev
@@ -40,6 +42,7 @@ jobs:
4042
4143
- name: Upload coverage files
4244
uses: actions/upload-artifact@v4
45+
if: matrix.python-version == "3.12"
4346
with:
4447
name: coverage-files
4548
path: |
@@ -61,12 +64,9 @@ jobs:
6164
uses: astral-sh/setup-uv@v5
6265
with:
6366
# Install a specific version of uv.
64-
version: "0.6.6"
65-
66-
- name: "Set up Python"
67-
uses: actions/setup-python@v5
68-
with:
69-
python-version-file: ".python-version"
67+
enable-cache: true
68+
version: "0.6.12"
69+
python-version: "${{ matrix.python-version }}"
7070

7171
- name: Install the project
7272
run: uv sync --all-extras --dev

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
'networkx',
3838
'xarray',
3939
'pyproj',
40-
'betterosi>=0.3.3',
40+
'betterosi>=0.3.4',
4141
'lxd-io>=0.4.4'
4242

4343
]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ contourpy==1.3.1
2121
# via matplotlib
2222
cycler==0.12.1
2323
# via matplotlib
24-
fonttools==4.56.0
24+
fonttools==4.57.0
2525
# via matplotlib
2626
grpclib==0.4.7
2727
# via betterproto2

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)