-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.01 KB
/
cloud-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Run tests
on: push
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build app
working-directory: android-app
run: ./gradlew assembleDebug assembleAndroidTest
- uses: MarathonLabs/setup-marathon-cloud@fix/download
with:
version: "1.0.1"
- run: |
echo $PATH
marathon-cloud --help
- name: run tests using marathon-cloud
uses: MarathonLabs/action-invoke@feature/support-cli-v1
with:
apiKey: ${{ secrets.MARATHON_CLOUD_API_TOKEN }}
application: android-app/app/build/outputs/apk/debug/app-debug.apk
testApplication: android-app/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
osVersion: 11
output: "./results"
platform: "Android"