Files
codebase-knowledge-graph-cli/.gitea/workflows/ci.yml
7000pctAUTO d253250774
All checks were successful
CI / test (push) Successful in 27s
Fix CI workflow - add system dependencies and proper test setup
2026-02-02 02:58:35 +00:00

40 lines
798 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 system dependencies
run: |
apt-get update
apt-get install -y graphviz
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -e .
- name: Run linters
run: |
pip install ruff mypy
ruff check src tests
python -m mypy src
- name: Run tests
run: |
pytest tests/unit/ -v
pytest tests/integration/ -v