Skip to content

Commit

Permalink
include 3.10 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zkurtz committed Nov 23, 2024
1 parent 281ac7d commit e427f47
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,30 @@ name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]

jobs:
build:
name: continuous-integration
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.10', '3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Set the python version for UV
run: echo "UV_PYTHON=${{ matrix.python-version }}" >> $GITHUB_ENV

- name: Set up uv
run: pip install uv

- name: Check code quality with Ruff
run: uv run ruff check .
run: |
uv run ruff check
uv run ruff format --check
- name: Check type hints with pyright
run: uv run pyright
Expand Down

0 comments on commit e427f47

Please sign in to comment.