Skip to content

Commit

Permalink
Feat/GitHub workflow (#16)
Browse files Browse the repository at this point in the history
* feat(github): fix manual_trigger workflow
  • Loading branch information
matzuk authored Jun 5, 2024
1 parent 9cbab83 commit b21ac39
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/manual_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,21 @@ on:
workflow_dispatch:

jobs:
build:
build_android:
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: Run tests
uses: ./
with:
apiKey: ${{ secrets.MARATHON_CLOUD_API_TOKEN }}
application: "example/app.apk"
testApplication: "example/appTest.apk"
platform: android
name: "3_0"
name: "android_3_0"
output: "output"
outputGlob: "tests/**"
version: "1.0.15"
Expand All @@ -39,3 +28,28 @@ jobs:
with:
name: output
path: output

build_ios:
runs-on: ubuntu-latest

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

- name: Run tests parallel
uses: ./
with:
apiKey: ${{ secrets.MARATHON_CLOUD_API_TOKEN }}
application: "example/sample.zip"
testApplication: "example/sampleUITests-Runner.zip"
platform: ios
name: "ios_3_0"
output: "output2"
outputGlob: "tests/**"
version: "1.0.15"

- name: Upload artifact parallel
uses: actions/upload-artifact@v2
with:
name: output2
path: output2
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 b21ac39

Please sign in to comment.