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

Abierto
#48 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
70/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, node.js, python
Área
ci-cd

Línea de trabajo

Read AGENTS.md 'CI/CD Recommandé' and build-windows.yml for trigger patterns. Create a new workflow file (e.g. .github/workflows/ci.yml) with the matrix Python 3.11/3.13/3.14 and steps: ruff, pylint, pytest --cov, and a web job running npm ci/test/build. Done when CI runs on push/PR and the existing red test fails the 85% coverage gate.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

ci enhancement

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.
Lenguaje dominante
Python
Estrellas
1
Forks
1
Merge medio
4 h 46 min
PR fusionados (30 d)
55

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de falbany/ProFiles

Todos los issues de falbany/ProFiles

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.