Skip to content

Commit

Permalink
fix(json): android and ios test against the new CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
matzuk committed Sep 2, 2024
1 parent 446b15e commit 5899906
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
46 changes: 43 additions & 3 deletions .github/workflows/manual_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
build:
build_android:
runs-on: ubuntu-latest

steps:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Marathon Cloud
uses: MarathonLabs/[email protected]
with:
version: "1.0.15"
version: "1.0.27"

- name: Run Marathon Cloud action-invoke
uses: ./
Expand All @@ -34,7 +34,47 @@ jobs:
application: "example/app.apk"
testApplication: "example/appTest.apk"
platform: "android"
name: "3_0"
name: "android_3_0"
output: "output"
outputGlob: "tests/**"

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: output
path: output

build_ios:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install dependencies
run: npm install

- name: Build TypeScript
run: npm run build

- name: Setup Marathon Cloud
uses: MarathonLabs/[email protected]
with:
version: "1.0.27"

- name: Run Marathon Cloud action-invoke
uses: ./
with:
apiKey: ${{ secrets.RUN_TOKEN }}
application: "example/sample.zip"
testApplication: "example/sampleUITests-Runner.zip"
platform: "ios"
name: "ios_3_0"
output: "output"
outputGlob: "tests/**"

Expand Down
Binary file added example/sample.zip
Binary file not shown.
Binary file added example/sampleUITests-Runner.zip
Binary file not shown.

0 comments on commit 5899906

Please sign in to comment.