Skip to content

CI: no workflow runs tests or lint — add a quality gate (pytest, ruff, pylint, coverage, web build) #48

Open

Description

@falbany

The repo has exactly two workflows: build-windows.yml (a dry-run guard) and release.yml (packaging). Nothing on GitHub runs the tests, ruff, pylint, or the web build — even though AGENTS.md prescribes exactly that CI, pyproject enforces --cov-fail-under=85, and the suite currently has a red test (test_main_without_npm) that went unnoticed on main.

Proposal (mirrors AGENTS.md "CI/CD Recommandé", modernized)

  • Trigger on push to main + PRs touching src/** or tests/** (share the trigger conditions of build-windows.yml).
  • uv sync + matrix Python 3.11 / 3.13 / 3.14 (classifiers claim 3.11–3.14; only 3.13 is ever exercised — 3.14 support is entirely untested).
  • Steps: ruff format --check ., ruff check ., pylint src/profiles --fail-under=8.0, pytest --cov=src/profiles --cov-report=xml (the 85% gate is already in addopts), optionally deptry src/.
  • Web job (paths src/profiles/web/**): npm ci && npm test && npm run build (tsc runs as part of build) on Node 20.
  • Consider a pre-commit run --all-files job as a cheap catch-all.

Activity

  1. added
    enhancement
    ci
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cienhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions