-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yaml
47 lines (44 loc) · 1.3 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
name: 'Run Grafana k6 tests'
description: 'Run Grafana k6 tests'
branding:
icon: 'arrow-down-circle'
color: 'purple'
inputs:
github-token:
description: 'GitHub API Access Token'
default: ${{ github.token }}
required: true
path:
description: 'Path to the k6 test files'
required: true
parallel:
description: 'If true, run tests in parallel'
required: false
fail-fast:
description: 'If true, fail on first test failure'
required: false
flags:
description: 'Additional flags to pass to k6 tests'
required: false
inspect-flags:
description: 'Additional flags to pass to k6 inspection step'
required: false
cloud-run-locally:
description: 'If true, run tests locally instead and upload results to Grafana Cloud k6'
default: "true"
required: false
cloud-comment-on-pr:
description: 'If true, comment the cloud test run URL on the pull request'
default: "true"
required: false
only-verify-scripts:
description: 'If true, only check if the test scripts are valid and skip test execution'
default: "false"
required: false
debug:
description: 'If true, the output from k6 will be shown in the action logs, else only the summary will be shown'
default: "false"
required: false
runs:
using: node20
main: dist/index.js