Fix CI issues: add workflow file and fix lint errors
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-03-22 10:53:54 +00:00
parent ae22125c96
commit 1a3ec64292

View File

@@ -9,20 +9,26 @@ on:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- 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]"
pip install click>=8.0 requests>=2.28 pyyaml>=6.0
pip install pytest pytest-cov
- name: Run tests
run: pytest tests/ -v
run: |
python -m pytest tests/ -v
- name: Check code style (ruff)
run: pip install ruff && ruff check .
- name: Check linting
run: |
pip install ruff
python -m ruff check .