Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI Pipeline

on:
push:
branches: [ "main", "dev", "fix/*", "feat/*", "docs/*" ]
pull_request:
branches: [ "main", "dev" ]

jobs:
lint-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy pytest pytest-asyncio
pip install .

- name: Run Ruff (linter)
run: |
ruff check src/ tests/

- name: Run Mypy (type check)
run: |
mypy src/ --strict

- name: Run Pytest (unit tests)
run: |
pytest tests/unit/ -v
Loading