Skip to content

Commit

Permalink
Added more docs on concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
mishushakov committed Jan 17, 2024
1 parent c78f616 commit 81b9587
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ inputs:
loadtest:
description: 'load-test option. e.g "true"'
required: false
concurrency:
description: 'concurrency option. e.g. "0"'
required: false

runs:
using: 'docker'
Expand Down
1 change: 1 addition & 0 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ The `run` command lets you run a specified workflow
| --secret [-s] | No | Supply secret variables (can be defined multiple times) |
| --verbose [-v] | No | Verbose mode: always show request/response |
| --loadtest [-load] | No | Run test in load-testing mode |
| --concurrency | No | Concurrency setting |

#### **Examples**

Expand Down
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ if [ "$LOADTEST" == "true" ]; then
EXECUTION_COMMAND="$EXECUTION_COMMAND --load"
fi

if [ -n "$CONCURRENCY" ]; then
EXECUTION_COMMAND="$EXECUTION_COMMAND --concurrency $CONCURRENCY"
fi

eval $EXECUTION_COMMAND

0 comments on commit 81b9587

Please sign in to comment.