Add user-service test coverage to GitHub Actions

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

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

評価

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

調査の方向性

Start with .github/workflows/ci.yml and compare the existing auth-service verification job with the user-service Maven project in services/user-service/pom.xml. Check the user-service test at services/user-service/src/test/java/com/secureops/user/UserServiceApplicationTests.java to identify its PostgreSQL and JWT requirements, then verify the workflow runs Maven verification on Java 21 and gates Docker publishing on both services succeeding.

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

説明

ci help wanted java testing

Problem

The GitHub Actions workflow currently runs Maven verification for auth-service but does not include user-service.

As a result, changes affecting user-service may pass CI without being tested.

Suggested Implementation

  • Add a separate user-service test job to .github/workflows/ci.yml.
  • Configure PostgreSQL and the required JWT verification environment.
  • Run Maven verification using Java 21.
  • Ensure Docker image publishing depends on successful verification of both services.

Relevant Files

  • .github/workflows/ci.yml
  • services/user-service/pom.xml
  • services/user-service/src/test/java/com/secureops/user/UserServiceApplicationTests.java

Acceptance Criteria

  • CI runs Maven verification for user-service.
  • Required database and JWT configuration are available during testing.
  • Existing authentication service tests continue to pass.
  • Failed user-service tests prevent Docker image publishing.

External contributions are welcome.

主要言語
Python
スター
1
フォーク
3
平均マージ
47分
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

hrittijab/SecureOps のほかの issue

hrittijab/SecureOps の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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