Skip to content

Commit 3efef86

Browse files
authored
feat: test against multiple python versions (#18)
1 parent e5b52c9 commit 3efef86

File tree

4 files changed

+14
-287
lines changed

4 files changed

+14
-287
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@ jobs:
1414
ci:
1515
name: Continuous integration
1616
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
python-version:
20+
- "3.12"
21+
- "3.13"
1722
steps:
1823
- uses: actions/checkout@v4
1924
- uses: astral-sh/setup-uv@v5
25+
with:
26+
python-version: ${{ matrix.python-version }}
2027
- name: Sync
2128
run: uv sync
2229
- name: Pre-Commit Hooks
@@ -26,6 +33,7 @@ jobs:
2633
- name: Docs
2734
run: uv run mkdocs build --strict
2835
- uses: actions/upload-pages-artifact@v3
36+
if: ${{ matrix.python-version == '3.12' }}
2937
with:
3038
path: site/
3139

stapi-fastapi/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ version = "0.6.0"
44
description = "Sensor Tasking API (STAPI) with FastAPI"
55
authors = [
66
{ name = "Christian Wygoda", email = "[email protected]" },
7-
{ name = "Phil Varner", email = "[email protected]" }
7+
{ name = "Phil Varner", email = "[email protected]" },
88
]
99
readme = "README.md"
1010
license = "MIT"
1111

12-
requires-python = ">=3.10"
12+
requires-python = ">=3.12"
1313

1414
dependencies = [
1515
"httpx>=0.27.0",

stapi-pydantic/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ authors = [
77
{ name = "Phil Varner", email = "[email protected]" },
88
{ name = "Pete Gadomski", email = "[email protected]" },
99
]
10-
requires-python = ">=3.10"
11-
dependencies = [
12-
"cql2>=0.3.6",
13-
"geojson-pydantic>=1.2.0",
14-
]
10+
requires-python = ">=3.12"
11+
dependencies = ["cql2>=0.3.6", "geojson-pydantic>=1.2.0"]
1512

1613
[project.scripts]
1714
stapi-pydantic = "stapi_pydantic:main"

0 commit comments

Comments
 (0)