Files
errorfix-cli/.gitea/workflows/errorfix-ci.yml
7000pctAUTO 3462c67d9b
Some checks failed
CI / test (push) Failing after 11s
ErrorFix CLI CI / test (push) Failing after 10s
fix: resolve CI linting failures and test path
2026-02-01 04:28:33 +00:00

44 lines
911 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
ruff check errorfix/ tests/