Skip to content

Commit 978f200

Browse files
committed
feat: create yaml file to integrate instrumented tests into GitHub Actions
1 parent 747e9e0 commit 978f200

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Android Instrumented Tests
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
instrumented-tests:
8+
name: Run Android Instrumented Tests
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Set up JDK 17
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: '17'
19+
distribution: 'temurin'
20+
21+
- name: Run Instrumented Tests
22+
uses: ReactiveCircus/android-emulator-runner@v2
23+
with:
24+
api-level: 34
25+
target: google_apis
26+
arch: x86_64
27+
profile: pixel
28+
script: ./gradlew :ownCloudData:connectedAndroidTest

0 commit comments

Comments
 (0)