-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration file parameter to test, cloud and record commands (#…
…1829) * plan gets config file as parameter * added `--config` parameter to test command * added description to --config parameter * added `--config` parameter to CloudCommand * added `--config` parameter to RecordCommand * Added test cases for confing injection * Update maestro-cli/src/main/java/maestro/cli/command/TestCommand.kt * Update maestro-cli/src/main/java/maestro/cli/command/TestCommand.kt * WorkspaceExecutionPlanner: use Path instead of File * standarize on YAML file ext * WorkspaceExecutionPlannerErrorsTest: use named args for plan() invocation * disable fail-fast in E2E GitHub Action --------- Co-authored-by: Bartek Pacia <[email protected]>
- Loading branch information
1 parent
3384806
commit 2b73223
Showing
12 changed files
with
86 additions
and
5 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ jobs: | |
timeout-minutes: 20 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java-version: [11, 17] | ||
|
||
|
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java-version: [11, 17] | ||
|
||
|
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
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
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
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
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
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
3 changes: 3 additions & 0 deletions
3
maestro-orchestra/src/test/resources/workspaces/014_config_not_null/config.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
includeTags: | ||
- included | ||
- excluded |
2 changes: 2 additions & 0 deletions
2
...ro-orchestra/src/test/resources/workspaces/014_config_not_null/config/another_config.yaml
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
includeTags: | ||
- included |
5 changes: 5 additions & 0 deletions
5
maestro-orchestra/src/test/resources/workspaces/014_config_not_null/flowA.yaml
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
appId: com.example.app | ||
tags: | ||
- included | ||
--- | ||
- launchApp |
5 changes: 5 additions & 0 deletions
5
maestro-orchestra/src/test/resources/workspaces/014_config_not_null/flowB.yaml
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
appId: com.example.app | ||
tags: | ||
- excluded | ||
--- | ||
- launchApp |