File tree Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : PR check
2
2
3
3
on : [pull_request]
4
4
72
72
./gradlew androidDependencies --no-daemon
73
73
74
74
- name : Run unit test
75
- run : ./gradlew studyplus-android-sdk:test
75
+ run : |
76
+ ./gradlew studyplus-android-sdk:test --no-daemon
Original file line number Diff line number Diff line change
1
+ name : Unit test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ unit_test :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+
14
+
15
+ - name : Gradle dist Cache
16
+
17
+ with :
18
+ path : ~/.gradle/wrapper
19
+ key : ${{ runner.os }}-dist-gradle-${{ hashFiles('**/gradle-wrapper.properties') }}
20
+ - name : Gradle dependencies Cache
21
+
22
+ with :
23
+ path : ~/.gradle/caches
24
+ key : ${{ runner.os }}-v1-gradle-${{ hashFiles('**/build.gradle') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-v1-gradle-
27
+ - name : Download Dependencies
28
+ run : |
29
+ ./gradlew androidDependencies --no-daemon
30
+
31
+ - name : Run unit test
32
+ run : |
33
+ ./gradlew studyplus-android-sdk:test --no-daemon
You can’t perform that action at this time.
0 commit comments