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

オープン
#48 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
70/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, node.js, python
領域
ci-cd

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
1
フォーク
1
平均マージ
4時間 46分
マージ済み PR(30日)
55

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

falbany/ProFiles のほかの issue

falbany/ProFiles の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。