Skip to content

Commit 045e83b

Browse files
committed
ci: expand OS matrix and add SQLAlchemy as core dependency
- Expanded matrix tests to include macOS and Python 3.13 without include overrides - Added fail-fast: false to smoke install test - Added macos-latest to smoke install matrix - Moved sqlalchemy[asyncio] from optional extras to core dependencies - Removed sqlalchemy from db, postgres, and mysql extras - Added blank line between CI jobs
1 parent 898f0ba commit 045e83b

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636

3737
- name: Mypy Strict Type Analysis
3838
run: mypy src/zcore
39+
3940
matrix-tests:
4041
name: test (${{ matrix.os }} / py${{ matrix.python-version }})
4142
needs: quality-check
@@ -44,10 +45,7 @@ jobs:
4445
fail-fast: false
4546
matrix:
4647
os: [ubuntu-latest, windows-latest, macos-latest]
47-
python-version: ["3.11", "3.12"]
48-
include:
49-
- os: ubuntu-latest
50-
python-version: "3.13"
48+
python-version: ["3.11", "3.12", "3.13"]
5149

5250
steps:
5351
- uses: actions/checkout@v4
@@ -64,13 +62,15 @@ jobs:
6462
6563
- name: Run 515+ Tests via Hatch
6664
run: hatch test
65+
6766
smoke-install-test:
6867
name: smoke test (${{ matrix.os }})
6968
needs: matrix-tests
7069
runs-on: ${{ matrix.os }}
7170
strategy:
71+
fail-fast: false
7272
matrix:
73-
os: [ubuntu-latest, windows-latest]
73+
os: [ubuntu-latest, windows-latest, macos-latest]
7474
steps:
7575
- uses: actions/checkout@v4
7676

‎pyproject.toml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers = [
2727
]
2828
dependencies = [
2929
"fastapi>=0.110.0",
30+
"sqlalchemy[asyncio]>=2.0.28",
3031
"pydantic>=2.6.0",
3132
"pydantic-settings>=2.2.0",
3233
"structlog>=24.1.0",
@@ -41,15 +42,12 @@ dependencies = [
4142

4243
[project.optional-dependencies]
4344
db = [
44-
"sqlalchemy[asyncio]>=2.0.28",
4545
"aiosqlite>=0.20.0",
4646
]
4747
postgres = [
48-
"sqlalchemy[asyncio]>=2.0.28",
4948
"asyncpg>=0.29.0",
5049
]
5150
mysql = [
52-
"sqlalchemy[asyncio]>=2.0.28",
5351
"aiomysql>=0.2.0",
5452
]
5553
redis = [

0 commit comments

Comments
 (0)