Skip to content

Instrumented testをappモジュールに限定 - #117

Closed
ai-kurou wants to merge 1 commit into
mainfrom
codex/scope-instrumented-test-to-app
Closed

Instrumented testをappモジュールに限定#117
ai-kurou wants to merge 1 commit into
mainfrom
codex/scope-instrumented-test-to-app

Conversation

@ai-kurou

Copy link
Copy Markdown
Owner

概要

PR #116 でライブラリモジュールの未使用 androidTestImplementation(libs.androidx.test.runner) を削除した際、CI の connectedDebugAndroidTest が全モジュールに対して実行されるため、androidTest を持たない :navigation のテストAPKで AndroidJUnitRunner が見つからず失敗していました。

変更内容

  • on-pull-request.yml の instrumented-test を ./gradlew :app:connectedDebugAndroidTest に限定
  • on-main-merge.yml も同じく :app に限定

補足

現在 src/androidTest があるのは app モジュールのみなので、instrumented test の実行対象も :app に揃えます。

検証

  • git diff --check
  • ruby -e 'require "yaml"; ARGV.each { |f| YAML.load_file(f); puts "OK #{f}" }' .github/workflows/on-pull-request.yml .github/workflows/on-main-merge.yml

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3a8dff0c-c08f-4ccb-a512-3a26071e35d9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@ai-kurou

Copy link
Copy Markdown
Owner Author

#116 に同じ修正を取り込んだため、このPRは閉じます。

@ai-kurou ai-kurou closed this Jul 27, 2026
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ai-kurou
ai-kurou deleted the codex/scope-instrumented-test-to-app branch July 27, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant