Didactopus/.github/workflows/ci.yml

23 lines
417 B
YAML

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Lint
run: ruff check src tests
- name: Test
run: pytest