File tree 2 files changed +19
-18
lines changed
2 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- runs-on : ubuntu -latest
11
+ runs-on : macos -latest
12
12
13
13
steps :
14
14
- uses : actions/checkout@v3
18
18
distribution : ' zulu'
19
19
java-version : 11
20
20
21
+ - name : Run instrumented tests
22
+ uses : reactivecircus/android-emulator-runner@v2
23
+ with :
24
+ api-level : 32
25
+ arch : x86_64
26
+ profile : pixel_5
27
+ disable-animations : true
28
+ force-avd-creation : false
29
+ ram-size : 4096M
30
+ emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-snapshot-save
31
+ script : ./gradlew connectedCheck --stacktrace
32
+
21
33
- name : Build and run tests
22
- run : ./gradlew check cascade-compose:verifyPaparazziDebug cascade-compose:allDevicesDebugAndroidTest
34
+ run : ./gradlew check cascade-compose:verifyPaparazziDebug
Original file line number Diff line number Diff line change @@ -19,26 +19,15 @@ android {
19
19
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
20
20
}
21
21
22
- buildFeatures. compose = true
23
- composeOptions. kotlinCompilerExtensionVersion = versions. composeCompiler
24
-
25
- testOptions {
26
- animationsDisabled = true
27
- managedDevices {
28
- devices {
29
- pixel2api30 (ManagedVirtualDevice ) {
30
- device = " Pixel 2"
31
- apiLevel = 30
32
- systemImageSource = " aosp"
33
- }
34
- }
35
- }
22
+ buildFeatures {
23
+ compose = true
24
+ }
25
+ composeOptions {
26
+ kotlinCompilerExtensionVersion = versions. composeCompiler
36
27
}
37
-
38
28
kotlinOptions {
39
29
jvmTarget = " 1.8"
40
30
}
41
-
42
31
lintOptions {
43
32
abortOnError true
44
33
}
You can’t perform that action at this time.
0 commit comments