diff --git a/.github/workflows/manual_trigger.yaml b/.github/workflows/manual_trigger.yaml new file mode 100644 index 0000000..1a9065a --- /dev/null +++ b/.github/workflows/manual_trigger.yaml @@ -0,0 +1,41 @@ +name: "Manual Trigger Workflow" + +on: + workflow_dispatch: + +jobs: + build: + 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" + output: "output" + outputGlob: "tests/**" + version: "1.0.15" + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: output + path: output diff --git a/example/app.apk b/example/app.apk new file mode 100644 index 0000000..80fd210 Binary files /dev/null and b/example/app.apk differ diff --git a/example/appTest.apk b/example/appTest.apk new file mode 100644 index 0000000..c0a5027 Binary files /dev/null and b/example/appTest.apk differ