Skip to content

fix(ci): update to prod v2 of setup #54

fix(ci): update to prod v2 of setup

fix(ci): update to prod v2 of setup #54

Workflow file for this run

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@2
with:
version: "1.0.1"
- 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"