File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ workflows:
3030 filters : *filters
3131 - testlio/schedule-run :
3232 dry-run : true
33+ test-args : " --spec tests/login-test.ts"
3334 filters : *filters
3435 requires :
3536 - copy-sample-configs
Original file line number Diff line number Diff line change 1414 "browserNames" : [" chrome" ],
1515 "platformNames" : [" windows" ]
1616 },
17- "count " : 2 ,
17+ "select " : 2 ,
1818 "testPackageURI" : " path/to/the/test/scripts"
1919}
Original file line number Diff line number Diff line change 33set -o nounset
44set -o errexit
55set -o xtrace
6+ set -o pipefail
67
78[ ! -f " ${PROJECT_CONFIG_PATH} " ] && echo " Cannot find project config in ${PROJECT_CONFIG_PATH} ." && exit
89[ ! -f " ${TEST_CONFIG_PATH} " ] && echo " Cannot find test config in ${TEST_CONFIG_PATH} ." && exit
@@ -11,6 +12,6 @@ export RUN_API_TOKEN=${!RUN_API_TOKEN_ENV_NAME}
1112
1213OPTIONAL_ARGS=()
1314[ " $DRY_RUN " -eq 1 ] && OPTIONAL_ARGS+=(" --dryRun" )
14- [ -n " $TEST_ARGS " ] && OPTIONAL_ARGS+=(" --testArgs=' ${TEST_ARGS} ' " )
15+ [ -n " $TEST_ARGS " ] && OPTIONAL_ARGS+=(" --testArgs=\" ${TEST_ARGS} \" " )
1516
1617testlio create-run --projectConfig " ${PROJECT_CONFIG_PATH} " --testConfig " ${TEST_CONFIG_PATH} " " ${OPTIONAL_ARGS[@]} "
You can’t perform that action at this time.
0 commit comments