File tree 4 files changed +41
-1
lines changed
4 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Android Emulator test
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, synchronize, reopened]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : macOS-latest
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - name : set up JDK 1.8
13
+ uses : actions/setup-java@v1
14
+ with :
15
+ java-version : 1.8
16
+ - name : Build with Gradle
17
+ run : ./gradlew build
18
+ - name : Android Emulator test
19
+ uses : ReactiveCircus/android-emulator-runner@v2.2.0
20
+ with :
21
+ api-level : 28
22
+ disable-animations : true
23
+ script : ./gradlew cAT
24
+ - uses : actions/upload-artifact@v1
25
+ if : failure()
26
+ with :
27
+ name : Espresso-test-report
28
+ path : sample/build/reports/androidTests/connected/
Original file line number Diff line number Diff line change
1
+ name : " Validate Gradle Wrapper"
2
+ on : [push]
3
+
4
+ jobs :
5
+ validation :
6
+ name : " Validation"
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : gradle/wrapper-validation-action@v1
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ android {
10
10
targetSdkVersion 28
11
11
versionCode 1
12
12
versionName " 1.0"
13
-
13
+ multiDexEnabled true
14
14
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
15
15
16
16
}
@@ -28,6 +28,7 @@ dependencies {
28
28
exclude group : ' com.android.support' , module : ' support-annotations'
29
29
})
30
30
implementation ' com.android.support:appcompat-v7:28.0.0'
31
+ implementation ' com.android.support:multidex:1.0.3'
31
32
testImplementation ' junit:junit:4.12'
32
33
}
33
34
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ android {
33
33
dependencies {
34
34
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
35
35
implementation project(" :anychart" )
36
+ implementation ' com.android.support:multidex:1.0.3'
36
37
implementation ' com.android.support:appcompat-v7:28.0.0'
37
38
implementation ' com.android.support.constraint:constraint-layout:1.1.3'
38
39
implementation ' com.android.support:recyclerview-v7:28.0.0'
You can’t perform that action at this time.
0 commit comments