All checks were successful
CI / test (push) Successful in 14s
Co-authored-by: Copilot <copilot@github.com>
39 lines
683 B
YAML
39 lines
683 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: Lint Markdown
|
|
run: mdformat --check README.md ROADMAP.md CHANGELOG.md
|
|
|
|
- name: Lint YAML
|
|
run: yamllint .
|
|
|
|
- name: Type-check
|
|
run: mypy src
|
|
|
|
- name: Test
|
|
run: pytest
|