mirror of
https://github.com/fastapi/sqlmodel.git
synced 2026-03-13 09:29:54 +08:00
👷 Enable tests with lower and upper bound versions (#1735)
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2325a8cb55
commit
93a3842865
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -27,23 +27,32 @@ jobs:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||
python-version: [ "3.14" ]
|
||||
uv-resolution:
|
||||
- highest
|
||||
include:
|
||||
- os: windows-latest
|
||||
python-version: "3.9"
|
||||
uv-resolution: highest
|
||||
- os: ubuntu-latest
|
||||
python-version: "3.10"
|
||||
uv-resolution: lowest-direct
|
||||
- os: macos-latest
|
||||
python-version: "3.11"
|
||||
uv-resolution: highest
|
||||
- os: windows-latest
|
||||
python-version: "3.12"
|
||||
uv-resolution: lowest-direct
|
||||
- os: ubuntu-latest
|
||||
python-version: "3.13"
|
||||
uv-resolution: highest
|
||||
- os: macos-latest
|
||||
python-version: "3.13"
|
||||
uv-resolution: highest
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
UV_PYTHON: ${{ matrix.python-version }}
|
||||
UV_RESOLUTION: ${{ matrix.uv-resolution }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Set up Python
|
||||
@@ -64,7 +73,7 @@ jobs:
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
- name: Install Dependencies
|
||||
run: uv sync --locked --no-dev --group tests
|
||||
run: uv sync --no-dev --group tests
|
||||
- run: mkdir coverage
|
||||
- name: Test
|
||||
run: uv run bash scripts/test.sh
|
||||
|
||||
Reference in New Issue
Block a user