@@ -23,40 +23,40 @@ jobs:
23
23
name : lint-results
24
24
path : app/build/reports/lint-results-debug.html
25
25
26
- # unit-test:
27
- # needs: [lint]
28
- # runs-on: ubuntu-latest
29
- # steps:
30
- # - name: Checkout the code
31
- # uses: actions/checkout@v2
32
- #
33
- # - name: Run tests
34
- # run: ./gradlew test
35
- #
36
- # - name: Upload test report
37
- # uses: actions/upload-artifact@v2
38
- # with:
39
- # name: unit_test_report
40
- # path: app/build/reports/tests/testDebugUnitTest/
41
- #
42
- # instrumentation-test:
43
- # needs: [unit-test]
44
- # runs-on: macos-latest
45
- # steps:
46
- # - name: Checkout the code
47
- # uses: actions/checkout@v2
48
- #
49
- # - name: Run espresso tests
50
- # uses: reactivecircus/android-emulator-runner@v2
51
- # with:
52
- # api-level: 29
53
- # script: ./gradlew connectedCheck
54
- #
55
- # - name: Upload test report
56
- # uses: actions/upload-artifact@v2
57
- # with:
58
- # name: instrumentation_test_report
59
- # path: app/build/reports/androidTests/connected/
26
+ unit-test :
27
+ # needs: [ lint ]
28
+ runs-on : ubuntu-latest
29
+ steps :
30
+ - name : Checkout the code
31
+ uses : actions/checkout@v2
32
+
33
+ - name : Run tests
34
+ run : ./gradlew test
35
+
36
+ - name : Upload test report
37
+ uses : actions/upload-artifact@v2
38
+ with :
39
+ name : unit_test_report
40
+ path : app/build/reports/tests/testDebugUnitTest/
41
+
42
+ # instrumentation-test:
43
+ # needs: [unit-test]
44
+ # runs-on: macos-latest
45
+ # steps:
46
+ # - name: Checkout the code
47
+ # uses: actions/checkout@v2
48
+ #
49
+ # - name: Run espresso tests
50
+ # uses: reactivecircus/android-emulator-runner@v2
51
+ # with:
52
+ # api-level: 29
53
+ # script: ./gradlew connectedCheck
54
+ #
55
+ # - name: Upload test report
56
+ # uses: actions/upload-artifact@v2
57
+ # with:
58
+ # name: instrumentation_test_report
59
+ # path: app/build/reports/androidTests/connected/
60
60
61
61
static-code-analysis :
62
62
# needs: [instrumentation-test]
0 commit comments