File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 15
15
- name : Build the app
16
16
run : ./gradlew assemble
17
17
18
+ - name : Unit Tests
19
+ uses : reactivecircus/android-emulator-runner@v2
20
+ with :
21
+ api-level : 16
22
+ script : ./gradlew testRc3DebugUnitTest assembleRc3Debug lintAnalyzeRc3Debug
23
+
24
+ - name : Publish unit-test results
25
+ uses : EnricoMi/publish-unit-test-result-action@v1
26
+ if : always()
27
+ with :
28
+ files : |
29
+ build/test-results/**/*.xml
30
+ */build/test-results/**/*.xml
31
+
18
32
android_tests :
19
33
# see https://github.com/reactivecircus/android-emulator-runner,
20
34
# needs to run on macos as only there virtualization is available!
@@ -32,12 +46,13 @@ jobs:
32
46
uses : reactivecircus/android-emulator-runner@v2
33
47
with :
34
48
api-level : 16
35
- script : ./gradlew assembleDebug testRc3DebugUnitTest assembleRc3Debug connectedCheck
49
+ script : ./gradlew testRc3DebugUnitTest assembleRc3Debug lintAnalyzeRc3Debug connectedCheck
36
50
37
- - name : Publish unit-test results
38
- uses : EnricoMi/publish-unit-test-result-action@v1
39
- if : always()
40
- with :
41
- files : |
42
- build/test-results/**/*.xml
43
- */build/test-results/**/*.xml
51
+ # Publishing does not work on MacOS
52
+ # - name: Publish unit-test results
53
+ # uses: EnricoMi/publish-unit-test-result-action@v1
54
+ # if: always()
55
+ # with:
56
+ # files: |
57
+ # build/test-results/**/*.xml
58
+ # */build/test-results/**/*.xml
You can’t perform that action at this time.
0 commit comments