Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Blocker] Add a PR CI workflow and make tests gate the deploy

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

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

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

評価

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

調査の方向性

.github/workflows/azure-app-service.yml の91-92行付近を読み、LearnStack.sln と LearnStack.csproj のビルドターゲットを確認することから始めます。restore、solution build、dotnet test を使用して、pull request と push 用の .github/workflows/ci.yml を追加し、その後 deploy workflow を更新します。テスト失敗時に必須の PR チェックと deploy テストが明確に失敗し、workflow summary に結果が表示されれば完了です。

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

説明

enhancement

Tier 1 — release blocker

Problem

Three separate gaps:

  1. The deploy workflow runs tests with continue-on-error: true, so a failing test never blocks a production deploy.
  2. It runs dotnet test --no-build at solution level after building only LearnStack.csproj, so the test project is likely never built and the tests probably do not execute at all — the swallowed error hides this.
  3. There is no PR build workflow at all: the only workflow triggers on push to main and deploys straight to production.
Evidence
  • .github/workflows/azure-app-service.yml:91-92
  • .github/workflows/ contains only azure-app-service.yml
Proposed fix
  1. Add .github/workflows/ci.yml: restore, build LearnStack.sln, dotnet test on pull_request and push.
  2. Mark it a required status check on main.
  3. In the deploy workflow, build the solution and drop continue-on-error.
Acceptance criteria
  • A PR with a failing test cannot be merged
  • A failing test blocks the deploy job
  • Test results are visible in the workflow summary
主要言語
HTML
スター
10
フォーク
0
平均マージ
17分
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

kasuken/LearnStack のほかの issue

kasuken/LearnStack の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

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

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