diff --git a/.github/workflows/pull-request-test.yml b/.github/workflows/pull-request-test.yml index c74579fa..f72c5068 100644 --- a/.github/workflows/pull-request-test.yml +++ b/.github/workflows/pull-request-test.yml @@ -13,12 +13,16 @@ jobs: java-version: '11' distribution: 'temurin' cache: 'gradle' + - name: Build run: ./gradlew build + - name: Unit Test run: ./gradlew testDebugUnitTest + - name: Lint run: ./gradlew ktlintCheck + - name: Upload build results if: always() uses: actions/upload-artifact@v4 diff --git a/android/src/test/java/com/amplitude/android/migration/RemnantDataMigrationTest.kt b/android/src/test/java/com/amplitude/android/migration/RemnantDataMigrationTest.kt index bba63490..5e093c71 100644 --- a/android/src/test/java/com/amplitude/android/migration/RemnantDataMigrationTest.kt +++ b/android/src/test/java/com/amplitude/android/migration/RemnantDataMigrationTest.kt @@ -35,7 +35,7 @@ class RemnantDataMigrationTest { @Test fun `legacy data version 3 should be migrated`() { - checkLegacyDataMigration("legacy_v3.sqlite", 3) + checkLegacyDataMigration("legacy_v3.sqlite", 3, true, false) } @Test