Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TECH: Draft marathon config #598

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/marathon_33.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow runs all the checks on pull requests

name: Pull Request Checks

on: pull_request

jobs:
marathon_33:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Assemble android tests
run: ./gradlew -PCI=true assembleDebugAndroidTest assembleDebug
- name: Print
run: find -name "*.apk"
- name: run tests on android 33
uses: MarathonLabs/action-test@0.3.3
with:
apiKey: ${{ secrets.marathon_github_token }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI, secrets except GITHUB_TOKEN is not accessible for pull_request in case of PRs from forks

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 }}