Create espresso_CI.yml
This commit is contained in:
committed by
GitHub Enterprise
parent
ee7983bd5a
commit
5cdbe78e9f
28
.github/workflows/espresso_CI.yml
vendored
Normal file
28
.github/workflows/espresso_CI.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user