Skip to content

Commit

Permalink
feat(flavor, filterFile): flavor and filterFile args were supported
Browse files Browse the repository at this point in the history
  • Loading branch information
matzuk committed Jan 3, 2024
1 parent c489de3 commit 6d5bcc3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
| `link` (optional) | Link to commit | | |
| `version` (optional) | marathon-cloud cli version to use | `latest` | `0.1.1` |
| `githubToken` (optional) | GitHub token | | `${{ secrets.GITHUB_TOKEN }}` |
| `isolated` (optional) | Run each test in isolation, i.e. isolated batching | | |
| `isolated` (optional) | Run each test in isolation, i.e. isolated batching | | |
| `flavor` (optional) | Type of tests to run | `native` | `native`, `js-test-appium`, `python-robotframework-appium` |
| `filterFile` (optional) | File containing test filters in YAML format, following the schema described at https://docs.marathonlabs.io/runner/configuration/filtering/#filtering-logic. For iOS see also https://docs.marathonlabs.io/runner/next/ios#test-plans. | | |

## marathon-cloud version

Expand Down
10 changes: 9 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ inputs:
isolated:
description: "Run each test in isolation, i.e. isolated batching"
required: false
flavor:
description: "Type of tests to run. Default: [native]. Possible values: [native, js-test-appium, python-robotframework-appium]"
required: false
filterFile:
description: "File containing test filters in YAML format, following the schema described at https://docs.marathonlabs.io/runner/configuration/filtering/#filtering-logic. For iOS see also https://docs.marathonlabs.io/runner/next/ios#test-plans."
required: false
branding:
color: purple
icon: play-circle
Expand All @@ -47,7 +53,7 @@ runs:
with:
version: ${{ inputs.version }}
- name: Run tests using marathon-cloud
uses: MarathonLabs/[email protected].2
uses: MarathonLabs/[email protected].4
with:
apiKey: ${{ inputs.apiKey }}
application: ${{ inputs.application }}
Expand All @@ -58,3 +64,5 @@ runs:
link: ${{ inputs.link }}
output: ${{ inputs.output }}
isolated: ${{ inputs.isolated }}
flavor: ${{ inputs.flavor }}
filterFile: ${{ inputs.filterFile }}

0 comments on commit 6d5bcc3

Please sign in to comment.