Files
local-ai-commit-reviewer/.gitea/workflows/ci.yml
7000pctAUTO dffe9b3bc6
Some checks failed
CI/CD / lint-and-test (push) Failing after 26s
fix: resolve CI/CD type errors and workflow issues
2026-02-05 06:48:10 +00:00

35 lines
666 B
YAML

name: CI/CD
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run Ruff linting
run: ruff check src tests
- name: Run MyPy type checking
run: mypy src
- name: Run pytest
run: pytest tests/ -v --tb=short