28 lines
485 B
YAML
28 lines
485 B
YAML
name: "Continuous Integration"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python 3.12
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Install dependencies
|
|
run: make install dev
|
|
|
|
- name: Lint (ruff)
|
|
run: make lint
|
|
|
|
- name: Test (pytest)
|
|
run: make test |