Files
errorfix-cli/.gitea/workflows/errorfix-ci.yml
7000pctAUTO d50ee94d06
Some checks failed
CI / test (push) Failing after 11s
ErrorFix CLI CI / test (push) Failing after 12s
fix: resolve CI linting failures
- Only lint errorfix/ directory, not tests/ from all projects
- Add mypy type checking step for comprehensive validation
2026-02-01 04:42:04 +00:00

45 lines
969 B
YAML

name: ErrorFix CLI CI
on:
push:
branches: [main]
paths:
- 'errorfix/**'
- 'tests/**'
- 'pyproject.toml'
- 'requirements.txt'
- '.gitea/workflows/errorfix-ci.yml'
pull_request:
branches: [main]
paths:
- 'errorfix/**'
- 'tests/**'
- 'pyproject.toml'
- 'requirements.txt'
- '.gitea/workflows/errorfix-ci.yml'
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 dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: python -m pytest errorfix/tests/ -v --tb=short
- name: Run linting
run: |
pip install ruff mypy
ruff check errorfix/
python -m mypy errorfix/ --ignore-missing-imports