-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: outputGlob was supported (#13)
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ jobs: | |
- name: Build app | ||
run: ./gradlew assembleDebug assembleAndroidTest | ||
- name: Run tests | ||
uses: MarathonLabs/[email protected].6 | ||
uses: MarathonLabs/[email protected].7 | ||
with: | ||
apiKey: ${{ secrets.MARATHON_CLOUD_API_TOKEN }} | ||
application: app/build/outputs/apk/debug/app-debug.apk | ||
testApplication: app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk | ||
platform: android | ||
output: "./results" | ||
version: "1.0.13" | ||
version: "1.0.15" | ||
``` | ||
## Inputs | ||
|
@@ -41,7 +41,8 @@ jobs: | |
| `platform` (required) | Testing platform | `` | `Android` or `iOS` | | ||
| `osVersion` (optional) | Android or iOS OS version. For Android one of [10, 11, 12, 13, 14]. For iOS one of [16.4, 17.2] | **Android**: `11`; **iOS**: `16.4` | `12`, `17.2`, etc. | | ||
| `systemImage` (optional) | OS-specific system image. For Android only | `` | `default`, `google_apis`, etc. | | ||
| `output` (optional) | Output folder path | `` | `` | | ||
| `output` (optional) | Output folder for test run results | `` | `output` | | ||
| `outputGlob` (optional) | Only files matching this glob will be downloaded, i.e. 'tests/\*\*' will download only the JUnit xml files | `` | `tests/**` | | ||
| `link` (optional) | Link to commit | `` | `` | | ||
| `isolated` (optional) | Run each test in isolation, i.e. isolated batching | `false` | `true`, `false` | | ||
| `flavor` (optional) | Type of tests to run | `native` | `native`, `js-test-appium`, `python-robotframework-appium` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,10 @@ inputs: | |
description: "Link to commit" | ||
required: false | ||
output: | ||
description: "Output folder" | ||
description: "Output folder for test run results" | ||
required: false | ||
outputGlob: | ||
description: "Only files matching this glob will be downloaded, i.e. 'tests/**' will download only the JUnit xml files" | ||
required: false | ||
isolated: | ||
description: "Run each test in isolation, i.e. isolated batching" | ||
|
@@ -70,11 +73,11 @@ runs: | |
using: composite | ||
steps: | ||
- name: Setup marathon-cloud | ||
uses: MarathonLabs/setup-marathon-cloud@2 | ||
uses: MarathonLabs/setup-marathon-cloud@2.0.1 | ||
with: | ||
version: ${{ inputs.version }} | ||
- name: Run tests using marathon-cloud | ||
uses: MarathonLabs/[email protected].5 | ||
uses: MarathonLabs/[email protected].6 | ||
with: | ||
apiKey: ${{ inputs.apiKey }} | ||
application: ${{ inputs.application }} | ||
|
@@ -84,6 +87,7 @@ runs: | |
systemImage: ${{ inputs.systemImage }} | ||
link: ${{ inputs.link }} | ||
output: ${{ inputs.output }} | ||
outputGlob: ${{ inputs.outputGlob }} | ||
isolated: ${{ inputs.isolated }} | ||
flavor: ${{ inputs.flavor }} | ||
filterFile: ${{ inputs.filterFile }} | ||
|