-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
54 lines (54 loc) · 1.3 KB
/
action.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: 'Ferret Lab'
description: 'Runs FQL tests'
inputs:
files: # id of input
description: 'Directory to run tests in'
required: true
default: 'test'
timeout:
description: 'Timeout for tests'
required: false
default: '10s'
params:
description: 'Parameters to pass to test files'
required: false
runtime:
description: 'Runtime to use'
required: false
runtime-param:
description: 'Runtime parameters'
required: false
concurrency:
description: 'Number of multiple tests to run at a time'
required: false
default: 1
times:
description: 'Number of times to run tests'
required: false
default: 1
attempts:
description: 'Number of times to retry failed tests'
required: false
default: 1
times-interval:
description: 'Interval between test runs'
required: false
default: '0s'
cdn:
description: 'File or directory to serve via HTTP'
required: false
default: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.files }}
- ${{ inputs.timeout }}
- ${{ inputs.params }}
- ${{ inputs.runtime }}
- ${{ inputs.runtime-param }}
- ${{ inputs.cdn }}
- ${{ inputs.concurrency }}
- ${{ inputs.times }}
- ${{ inputs.attempts }}
- ${{ inputs.times-interval }}