-
Notifications
You must be signed in to change notification settings - Fork 13
/
action.yml
63 lines (62 loc) · 1.83 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
55
56
57
58
59
60
61
62
63
name: Continuous Benchmarking for Go
author: Robert Lin <robert@bobheadxi.dev>
description: Run Go benchmarks, publish results to an interactive web app, and check for performance regressions in your pull requests!
branding:
icon: activity
color: white
runs:
using: docker
image: Dockerfile
# see https://github.com/bobheadxi/gobenchdata#github-action for more details
inputs:
# shared
SUBDIRECTORY:
description: subdirectory of project to run commands from
default: '.'
required: false
GO_BENCHMARKS:
description: benchmarks to run (argument for `-bench`)
default: '.'
required: false
GO_TEST_FLAGS:
description: additional flags for `go test`
required: false
GO_TEST_PKGS:
description: packages to test (argument for `go test`)
default: './...'
required: false
BENCHMARKS_OUT:
description: destination path of benchmark data
default: 'benchmarks.json'
required: false
PUBLISH_REPO:
description: repository base branch results are published to
required: false
PUBLISH_BRANCH:
default: 'gh-pages'
description: branch results are published to
required: false
GOBENCHDATA_PARSE_FLAGS:
description: additional flags to pass to gobenchdata when parsing benchmark data
required: false
# publishing
PUBLISH:
default: "false"
description: enable publishing of benchmark results
required: false
PRUNE_COUNT:
description: number of past runs to keep (`0` keeps everything)
default: "0"
required: false
GIT_COMMIT_MESSAGE:
description: the commit message for the benchmark update
required: false
# checks
CHECKS:
description: enable checks on benchmark results
default: "false"
required: false
CHECKS_CONFIG:
default: 'gobenchdata-checks.yml'
description: path to checks configuration
required: false