From 5cdbe78e9f60242fa18029bf6dd4aa3f51988cd3 Mon Sep 17 00:00:00 2001 From: rahul bhat Date: Fri, 11 Mar 2022 16:25:57 +0530 Subject: [PATCH] Create espresso_CI.yml --- .github/workflows/espresso_CI.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/espresso_CI.yml 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