05/23 Fix ci.yml

This commit is contained in:
2026-05-23 16:44:47 -04:00
parent ea30c7d838
commit b5e03fbf10
2 changed files with 7 additions and 3 deletions
+7 -3
View File
@@ -27,14 +27,18 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
# ── 4. Install dependencies ────────────────────────────────────────
# ── 4. Install system dependencies (Tk for UI tests) ─────────────
- name: Install system dependencies
run: sudo apt-get install -y python3-tk
# ── 5. Install Python dependencies ────────────────────────────────
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
# ── 5. Syntax check — compile all .py files ────────────────────────
# ── 6. Syntax check — compile all .py files ────────────────────────
- name: Syntax check (py_compile)
run: |
echo "Running syntax check on all .py files..."
@@ -45,7 +49,7 @@ jobs:
| xargs python -m py_compile
echo "Syntax check passed."
# ── 6. Run pytest ──────────────────────────────────────────────────
# ── 7. Run pytest ──────────────────────────────────────────────────
- name: Run tests (pytest)
run: |
pytest tests/ \
Binary file not shown.