Skip to content

chore: Python 3.12 is supported #30

chore: Python 3.12 is supported

chore: Python 3.12 is supported #30

Workflow file for this run

name: Run CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
architecture: x64
python-version: '3.10'
- name: Lint by pre-commit
run: |
pip install pre-commit
pre-commit run --all-files
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup venv
run: |
pip install uv
uv venv
uv pip install -r requirements-dev.lock
- name: Run test
run: |
.venv/bin/pytest