Skip to content

Add PR CI workflow

Add PR CI workflow #1

Workflow file for this run

name: PR Checks
on:
pull_request:
branches: ["main"]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: poetry
- name: Install dependencies
shell: bash
run: |
pip install --user pipx
pipx install poetry==1.7.1
poetry install --with=dev
- name: Run commit checks
run: poetry run pre-commit run -a
- name: Run tests
run: ./scripts/test