Conversation
WalkthroughCIの2つのGitHub Actionsワークフローで、静的解析(Psalm)とテスト(PHPUnit)実行時に明示的な設定ファイル指定フラグを追加。その他のジョブや手順は変更なし。 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/test.yml (1)
41-42: 明示的な phpunit.xml.dist 指定は妥当(CI安定性の向上)。この変更で「.dist」へのリネームと整合が取れています。念のため、phpunit.xml.dist がリポジトリ直下に存在すること、カバレッジ出力先 build/coverage-xml のディレクトリ生成有無をご確認ください(環境によっては作成が必要)。
ディレクトリ未作成による失敗を避ける補助ステップの追加案です(任意):
- name: Install Dependencies run: composer update --prefer-dist --no-interaction --no-progress + - name: Prepare coverage directory + run: rm -rf build/coverage-xml && mkdir -p build/coverage-xml + - name: Run PHPUnit ${{ matrix.phpunit-version }} run: vendor/bin/phpunit --configuration=phpunit.xml.dist --coverage-xml=build/coverage-xml.github/workflows/psalm.yml (1)
38-39: Psalm の --config=psalm.xml.dist 明示はOK。リネーム方針と一致しており、ローカル差分に依存しない実行になります。psalm.xml.dist の配置パスと、対象ディレクトリ設定が gh-pages ブランチ構成に合っているかだけ念のためご確認ください。
GitHub 上での可読性を上げるため、出力を抑制・整形するオプションの追加を提案します(任意):
- - name: Run Psalm - run: vendor/bin/psalm --config=psalm.xml.dist --show-info=true + - name: Run Psalm + run: vendor/bin/psalm --config=psalm.xml.dist --show-info=true --no-progress --output-format=github
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
.github/workflows/psalm.yml(1 hunks).github/workflows/test.yml(1 hunks)
PHPUnit と Psalm の設定ファイルを .dist 付きにリネームしました。
Summary by CodeRabbit
チョア
テスト