Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
version:
description: 'ew-cli version to use'
required: true
default: '1.0.0-rc01'
default: '1.1.0'
# Authentication
api-token:
description: 'Api token for emulator.wtf'
Expand Down Expand Up @@ -77,6 +77,9 @@ inputs:
shard-target-runtime:
description: 'Target runtime for each shard in minutes, tests will be split into shards targeting this runtime for each shard based on historical data on a best effort basis.'
required: false
testcase-duration-hint:
description: 'Hint for the average runtime for each test case expressed by a number followed by a unit (h, m, s or ms), with the maximum value being 3h and the minimum value being 1ms (default 10s). Useful when historical runtime data is missing for tests alongside with --shard-target-runtime.'
required: false
num-uniform-shards:
description: 'Set to a number larger than 1 to randomly split your tests into multiple shards.'
required: false
Expand Down Expand Up @@ -136,11 +139,11 @@ runs:
using: composite
steps:
- name: Setup ew-cli
uses: emulator-wtf/setup-ew-cli@v1.0.0-rc01
uses: emulator-wtf/setup-ew-cli@v1.0.0-rc02
with:
version: ${{ inputs.version }}
- name: Run instrumented tests
uses: emulator-wtf/invoke@v1.0.0-rc01
uses: emulator-wtf/invoke@v1.0.0-rc02
with:
# Authentication
api-token: ${{ inputs.api-token }}
Expand Down Expand Up @@ -168,6 +171,7 @@ runs:
# Test Sharding
shard-target-runtime: ${{ inputs.shard-target-runtime }}
num-balanced-shards: ${{ inputs.num-balanced-shards }}
testcase-duration-hint: ${{ inputs.testcase-duration-hint }}
num-uniform-shards: ${{ inputs.num-uniform-shards }}
num-shards: ${{ inputs.num-shards }}
# Test outputs
Expand Down