fix: resolve CI linting issues
Some checks failed
CI/CD / test (push) Has been cancelled

This commit is contained in:
2026-02-01 17:29:56 +00:00
parent 76686383ae
commit e71e84dc80

View File

@@ -1,15 +1,14 @@
name: CI
name: CI/CD
on:
push:
branches: [main, master]
branches: [main]
pull_request:
branches: [main, master]
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -23,11 +22,14 @@ jobs:
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: |
PYTHONPATH=src python -m pytest tests/ -v --tb=short
- name: Run linter
run: ruff check src/ tests/
- name: Run linting
run: |
pip install ruff
ruff check .
- name: Run type checker
run: mypy src/ --ignore-missing-imports
- name: Run tests
run: pytest tests/ -v --tb=short
- name: Run coverage
run: pytest tests/ --cov=src --cov-report=term-missing