Skip to content

Commit 4329d42

Browse files
committed
Update dev workflow to test multiple python versions
1 parent a36a9c5 commit 4329d42

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/dev.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ permissions:
1313

1414
jobs:
1515
test:
16-
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
os: [ubuntu-latest]
20+
runs-on: ${{ matrix.os }}
1721
steps:
1822
- uses: actions/checkout@v4
1923
- name: Install just
@@ -23,12 +27,14 @@ jobs:
2327
with:
2428
enable-cache: true
2529
cache-dependency-glob: "uv.lock"
26-
- name: Install python 3.12
30+
- name: Install python ${{ matrix.python-version }}
2731
uses: actions/setup-python@v5
2832
with:
29-
python-version-file: ".python-version"
33+
python-version: ${{ matrix.python-version }}
3034
- name: Install dependencies
3135
run: just install
36+
env:
37+
UV_PYTHON: ${{ matrix.python-version }}
3238
- name: Test
3339
run: just test
3440
- name: Build

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [
77
]
88
description = "The Python SDK for interacting with NannyML Cloud"
99
readme = "README.md"
10-
requires-python = ">=3.9.16"
10+
requires-python = ">=3.8"
1111
classifiers = [
1212
"Programming Language :: Python :: 3",
1313
"License :: OSI Approved :: MIT License",

0 commit comments

Comments
 (0)