Skip to content

Commit 9f52821

Browse files
authored
👷 Run tests with lower bound uv sync, update minimum dependencies (#299)
1 parent 45a0f49 commit 9f52821

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,32 @@ jobs:
3030
matrix:
3131
os: [ ubuntu-latest, windows-latest, macos-latest ]
3232
python-version: ["3.14"]
33+
uv-resolution:
34+
- highest
3335
include:
3436
- python-version: "3.9"
3537
os: macos-latest
38+
uv-resolution: lowest-direct
3639
- python-version: "3.10"
3740
os: ubuntu-latest
41+
uv-resolution: highest
3842
- python-version: "3.11"
3943
os: windows-latest
44+
uv-resolution: highest
4045
- python-version: "3.12"
4146
os: macos-latest
47+
uv-resolution: lowest-direct
4248
- python-version: "3.13"
4349
os: ubuntu-latest
50+
uv-resolution: highest
4451
- python-version: "3.13"
4552
os: windows-latest
53+
uv-resolution: highest
4654
fail-fast: false
4755
runs-on: ${{ matrix.os }}
4856
env:
4957
UV_PYTHON: ${{ matrix.python-version }}
58+
UV_RESOLUTION: ${{ matrix.uv-resolution }}
5059
steps:
5160
- name: Dump GitHub context
5261
env:
@@ -71,7 +80,7 @@ jobs:
7180
with:
7281
limit-access-to-actor: true
7382
- name: Install Dependencies
74-
run: uv sync --locked --no-dev --group tests --extra standard
83+
run: uv sync --no-dev --group tests --extra standard
7584
- run: mkdir coverage
7685
- name: Test
7786
run: uv run bash scripts/test.sh

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.14",
3333
]
3434
dependencies = [
35-
"typer >= 0.15.1",
35+
"typer >= 0.16.0",
3636
"uvicorn[standard] >= 0.15.0",
3737
"rich-toolkit >= 0.14.8",
3838
"tomli >= 2.0.0; python_version < '3.11'"
@@ -69,7 +69,7 @@ tests = [
6969
"coverage[toml]>=6.2,<8.0",
7070
"fastapi>=0.128.0",
7171
"mypy==1.19.1",
72-
"pytest>=4.4.0,<10.0.0",
72+
"pytest>=7.4.0,<10.0.0",
7373
"ruff==0.15.1",
7474
"uvicorn>=0.39.0",
7575
]

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)