diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 93c490e..b409dc0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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/ \ diff --git a/data/lottosight.db b/data/lottosight.db index 67113b2..9de4260 100644 Binary files a/data/lottosight.db and b/data/lottosight.db differ