30 lines
554 B
YAML
30 lines
554 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Install Core with Dev Dependencies
|
|
run: |
|
|
pip install --upgrade pip
|
|
pip install -e .[dev]
|
|
|
|
- name: Run Quality Checks (Linter)
|
|
run: ruff check src/
|
|
|
|
- name: Execute Test Suite
|
|
run: pytest tests/ -v
|