Skip to content

Commit 7421c67

Browse files
committed
Fix: Python version mismatch and documentation build
1 parent 4c232d9 commit 7421c67

4 files changed

Lines changed: 21 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6.0.2
1414

15-
- name: Set up Python 3.12
16-
uses: actions/setup-python@v5
15+
- name: Set up Python 3.14
16+
uses: actions/setup-python@v6
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.14"
19+
cache: "poetry"
1920

2021
- name: Install Poetry
2122
run: |
@@ -25,5 +26,10 @@ jobs:
2526
- name: Install dependencies
2627
run: poetry install
2728

28-
- name: Run tests
29-
run: poetry run pytest
29+
- name: Lint and Format check
30+
run: |
31+
poetry run ruff check .
32+
poetry run ruff format --check .
33+
34+
- name: Run tests with coverage
35+
run: poetry run pytest --cov=src --cov-report=xml

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6.0.2
1313
- name: Configure Git Credentials
1414
run: |
1515
git config user.name github-actions[bot]
1616
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17-
- uses: actions/setup-python@v5
17+
- uses: actions/setup-python@v6
1818
with:
19-
python-version: 3.x
19+
python-version: "3.14"
2020
- run: echo "cache_id=$(date --utc +%V)" >> $GITHUB_ENV
21-
- uses: actions/cache@v4
21+
- uses: actions/cache@v5
2222
with:
2323
key: mkdocs-material-${{ env.cache_id }}
2424
path: .cache

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ plugins:
6363
- mkdocstrings:
6464
handlers:
6565
python:
66-
paths: [src]
66+
paths: ["."]
67+

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ package-mode = false
1010
[tool.poetry.dependencies]
1111
python = "^3.12"
1212
fastapi = {extras = ["standard"], version = "^0.128.0"}
13-
instructor = "^1.13.0"
13+
instructor = "^1.14.4"
1414
pydantic-settings = "^2.12.0"
1515
structlog = "^25.5.0"
1616
apscheduler = "^3.11.2"
1717
prometheus-fastapi-instrumentator = "^7.1.0"
1818
pytest = "^8.3.0"
19-
arq = "^0.26.1"
20-
redis = "^5.0.8"
19+
arq = "^0.26.3"
20+
redis = "^7.1.0"
2121
pytest-asyncio = "^0.23.5"
2222
httpx = "^0.27.0"
2323
aiosqlite = "^0.20.0"

0 commit comments

Comments
 (0)