diff --git a/.github/workflows/espresso_CI.yml b/.github/workflows/espresso_CI.yml new file mode 100644 index 0000000000..e7a9dc54e1 --- /dev/null +++ b/.github/workflows/espresso_CI.yml @@ -0,0 +1,28 @@ +name: Android CI +on: + pull_request: + branches: development + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + # Execute unit tests + - name: Unit Test + run: ./gradlew testDebugUnitTest + + - name: to run espresso tests + uses: reactivecircus/android-emulator-runner@v2.6.1 + with: + api-level: 23 + target: default + arch: x86 + profile: Nexus 6 + script: ./gradlew connectedCheckdevDebug --stacktrace