File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -63,4 +63,5 @@ plugins:
6363 - mkdocstrings :
6464 handlers :
6565 python :
66- paths : [src]
66+ paths : ["."]
67+
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ package-mode = false
1010[tool .poetry .dependencies ]
1111python = " ^3.12"
1212fastapi = {extras = [" standard" ], version = " ^0.128.0" }
13- instructor = " ^1.13.0 "
13+ instructor = " ^1.14.4 "
1414pydantic-settings = " ^2.12.0"
1515structlog = " ^25.5.0"
1616apscheduler = " ^3.11.2"
1717prometheus-fastapi-instrumentator = " ^7.1.0"
1818pytest = " ^8.3.0"
19- arq = " ^0.26.1 "
20- redis = " ^5.0.8 "
19+ arq = " ^0.26.3 "
20+ redis = " ^7.1.0 "
2121pytest-asyncio = " ^0.23.5"
2222httpx = " ^0.27.0"
2323aiosqlite = " ^0.20.0"
You can’t perform that action at this time.
0 commit comments