Instrumented testをappモジュールに限定 - #117
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
Up to standards ✅🟢 Issues
|
|
#116 に同じ修正を取り込んだため、このPRは閉じます。 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |



概要
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 --checkruby -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