Skip to content

Commit

Permalink
TECH: Use action
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikitae57 committed Nov 21, 2023
1 parent f105a1d commit 450e803
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/marathon_33.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,15 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: MarathonLabs/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MARATHON_TOKEN: ${{ secrets.marathon_github_token }}
with:
version: "latest"
- name: Assemble android tests
run: ./gradlew -PCI=true assembleDebugAndroidTest assembleDebug
- name: Print
run: find -name "*.apk"
- name: Run tests on android 33
run: |
marathon-cloud -app samples/kaspresso-sample/build/outputs/apk/debug/kaspresso-sample-debug.apk \
-testapp samples/kaspresso-sample/build/outputs/apk/androidTest/debug/kaspresso-sample-debug-androidTest.apk \
-platform Android \
-api-key $MARATHON_TOKEN \
-os-version 13 \
-system-image google_apis
- name: run tests on android 33
- uses: MarathonLabs/[email protected]
with:
apiKey: ${{ secrets.marathon_github_token }}
application: samples/kaspresso-sample/build/outputs/apk/debug/kaspresso-sample-debug.apk
testApplication: samples/kaspresso-sample/build/outputs/apk/androidTest/debug/kaspresso-sample-debug-androidTest.apk
platform: Android
githubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 450e803

Please sign in to comment.