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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.13"
- run: pip install ruff
- run: pip install -e ".[codegen]"
- run: ruff format --check .
- run: ruff check .
- name: Check that the generated REST client is up to date
run: python scripts/generate.py --update --check

typecheck:
runs-on: ubuntu-latest
Expand All @@ -31,11 +33,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev]"
- name: Download the OpenAPI spec for generated-client tests
run: curl --fail --silent --show-error https://api.openshock.dev/openapi.json --output openapi/openapi.json
- run: pytest --cov=openshock --cov-report=term-missing
Loading