File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -83,15 +83,15 @@ jobs:
8383
8484 - name : Run all tests
8585 working-directory : ${{ env.SAMPLE_PATH }}
86- run : ./gradlew pixel2api29DebugAndroidTest -i -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
86+ run : ./gradlew -i pixel2api29DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
8787
8888 - name : Run regression tests
8989 working-directory : ${{ env.SAMPLE_PATH }}
90- run : ./gradlew -i pixel2api23DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid. testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi23
90+ run : ./gradlew -i pixel2api23DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi23
9191
9292 - name : Run large screen tests
9393 working-directory : ${{ env.SAMPLE_PATH }}
94- run : ./gradlew -i nexus9api29DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid. testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
94+ run : ./gradlew -i nexus9api29DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
9595
9696 - name : Upload test reports
9797 if : always()
Original file line number Diff line number Diff line change @@ -41,14 +41,13 @@ android {
4141 composeOptions {
4242 kotlinCompilerExtensionVersion compose_version
4343 }
44-
4544 packagingOptions {
46- // Multiple dependency bring these files in. Exclude them to enable
47- // our test APK to build (has no effect on our AARs)
48- excludes + = " /META-INF/AL2.0"
49- excludes + = " /META-INF/LGPL2.1"
45+ resources {
46+ excludes + = [' /META-INF/AL2.0' , ' /META-INF/LGPL2.1' ]
47+ }
5048 }
5149
50+
5251 testOptions {
5352 devices {
5453 pixel2api29(ManagedVirtualDevice ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ buildscript {
2929 }
3030
3131 dependencies {
32- classpath ' com.android.tools.build:gradle:7.0.2 '
32+ classpath ' com.android.tools.build:gradle:7.1.0-alpha11 '
3333 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
3434 }
3535}
Original file line number Diff line number Diff line change 11# Tue Sep 14 13:31:05 WEST 2021
22distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.0. 2-bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments