Skip to content

Commit 04d3847

Browse files
test python 3.10, 3.11 and 3.12
1 parent 28f3c5c commit 04d3847

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

.github/workflows/main.yml

Lines changed: 12 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
@@ -61,12 +63,9 @@ jobs:
6163
uses: astral-sh/setup-uv@v5
6264
with:
6365
# 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"
66+
enable-cache: true
67+
version: "0.6.12"
68+
python-version: "3.12"
7069

7170
- name: Install the project
7271
run: uv sync --all-extras --dev

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)