@@ -23,40 +23,40 @@ jobs:
2323 name : lint-results
2424 path : app/build/reports/lint-results-debug.html
2525
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/
6060
6161 static-code-analysis :
6262# needs: [instrumentation-test]
0 commit comments