Simplify CI workflow

This commit is contained in:
Developer
2026-02-05 09:20:46 +00:00
parent 0d21ae3cf9
commit 8ddc2038c2

View File

@@ -24,21 +24,15 @@ jobs:
python-version: '3.11' python-version: '3.11'
cache: 'pip' cache: 'pip'
- name: Check Python version
run: python --version
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -e ".[dev]" 2>&1 || echo "Install failed" pip install -e ".[dev]"
- name: Show pip packages
run: pip list
- name: Run tests - name: Run tests
run: pytest -xvs --tb=short 2>&1 || echo "Tests failed" run: pytest -xvs --tb=short
- name: Run linting - name: Run linting
run: | run: |
pip install ruff pip install ruff
ruff check --fix . 2>&1 || echo "Linting failed" ruff check --fix .