generated from int128/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
36 lines (33 loc) · 949 Bytes
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: parallel-test-action
description: Distribute the test files to the shards based on the estimated time from the test reports
inputs:
working-directory:
description: Working directory
required: false
default: .
test-files:
description: Glob pattern of test files
required: true
test-report-artifact-name-prefix:
description: Prefix of the test report artifact name
required: true
test-report-branch:
description: Branch to find the test report artifacts
required: true
shard-count:
description: Number of shards
required: true
shards-artifact-name:
description: Name of the shards artifact
required: true
default: parallel-test-shards--${{ github.job }}
token:
description: GitHub token
required: true
default: ${{ github.token }}
outputs:
shards-directory:
description: Directory to store the shard files
runs:
using: 'node20'
main: 'dist/index.js'