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:
83
83
84
84
- name : Run all tests
85
85
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
87
87
88
88
- name : Run regression tests
89
89
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
91
91
92
92
- name : Run large screen tests
93
93
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
95
95
96
96
- name : Upload test reports
97
97
if : always()
Original file line number Diff line number Diff line change @@ -41,14 +41,13 @@ android {
41
41
composeOptions {
42
42
kotlinCompilerExtensionVersion compose_version
43
43
}
44
-
45
44
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
+ }
50
48
}
51
49
50
+
52
51
testOptions {
53
52
devices {
54
53
pixel2api29(ManagedVirtualDevice ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ buildscript {
29
29
}
30
30
31
31
dependencies {
32
- classpath ' com.android.tools.build:gradle:7.0.2 '
32
+ classpath ' com.android.tools.build:gradle:7.1.0-alpha11 '
33
33
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
34
34
}
35
35
}
Original file line number Diff line number Diff line change 1
1
# Tue Sep 14 13:31:05 WEST 2021
2
2
distributionBase =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
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments