Some checks failed
CI / test (push) Failing after 1s
Co-authored-by: Copilot <copilot@github.com>
33 lines
541 B
YAML
33 lines
541 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install package and dev dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -e .[dev]
|
|
|
|
- name: Lint
|
|
run: ruff check .
|
|
|
|
- name: Type-check
|
|
run: mypy src
|
|
|
|
- name: Test
|
|
run: pytest
|