Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 3 additions & 45 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false

steps:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:

matrix:

python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]

os: [ubuntu]

Expand Down Expand Up @@ -74,54 +74,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml

test-extra:

name: test py${{ matrix.python-version }} on ${{ matrix.os }} with extra

runs-on: ${{ matrix.os }}-latest

services:
redis:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

strategy:

matrix:

python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13"]

os: [ubuntu]

steps:
- uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Clone authx extra
run: git clone https://github.com/yezz123/authx-extra.git --single-branch

- name: Test Suite - ${{ matrix.os }} - py${{ matrix.python-version }}
run: bash scripts/test_extra.sh
env:
ENV: test
REDIS_URL: "redis://0.0.0.0:6379"

# https://github.com/marketplace/actions/alls-green#why
# used for branch protection checks
check:
if: always()

needs: [mypy, tests, test-extra]
needs: [mypy, tests]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Session",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand All @@ -48,7 +49,7 @@ classifiers = [
dependencies = [
"fastapi >=0.111.0",
"pyjwt[crypto] >=2.6.0,<3.0.0",
"pydantic >=2.0.0,<3.0.0",
"pydantic>=2.10.5,<3.0.0",
"pydantic-settings >=2.1.0",
"python-dateutil>=2.8,<3.0.0",
"pytz>=2023.3,<2026.0",
Expand Down
Loading
Loading