diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 16889138..6dfdcf3b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -74,7 +74,7 @@ The `lint` module enforces two rules — do not work around them: - **Unit tests**: JUnit 4 + Mockito, located in `chartLib/src/test/kotlin/` - Run with: `./gradlew :chartLib:test` - **Instrumentation tests**: Espresso, located in `app/src/androidTest/kotlin/` - - Run with: `./gradlew cAT` (requires emulator, API 28) + - Run with: `./gradlew connectedAndroidTest` (requires emulator, API 28) - CI runs instrumentation tests on an API 28 x86_64 emulator via GitHub Actions ## Publishing diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 1e3c13aa..1e5b4813 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -50,7 +50,7 @@ jobs: - name: Run instrumentation tests uses: hannesa2/action-android/emulator-run-cmd@0.17.0 with: - cmd: ./gradlew cAT --continue + cmd: ./gradlew connectedAndroidTest --continue api: ${{ matrix.api }} tag: ${{ matrix.tag }} abi: ${{ matrix.abi }}