Skip to content

Merge branch 'test/marathon-cli-v2' of github.com:MarathonLabs/sample… #48

Merge branch 'test/marathon-cli-v2' of github.com:MarathonLabs/sample…

Merge branch 'test/marathon-cli-v2' of github.com:MarathonLabs/sample… #48

Workflow file for this run

name: Run tests
on: push
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build app
working-directory: android-app
run: ./gradlew assembleDebug assembleAndroidTest
- uses: MarathonLabs/setup-marathon-cloud@2
with:
version: "1.0.0"
- name: run tests using marathon-cloud
uses: MarathonLabs/action-invoke@0
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"