forked from bobheadxi/gobenchdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
48 lines (47 loc) · 1.46 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
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: '.'
GO_BENCHMARKS:
description: benchmarks to run (argument for `-bench`)
default: '.'
GO_TEST_FLAGS:
description: additional flags for `go test`
GO_TEST_PKGS:
description: packages to test (argument for `go test`)
default: './...'
BENCHMARKS_OUT:
description: destination path of benchmark data
default: 'benchmarks.json'
PUBLISH_REPO:
description: repository base branch results are published to
PUBLISH_BRANCH:
default: 'gh-pages'
description: branch results are published to
# publishing
PUBLISH:
default: false
description: enable publishing of benchmark results
PRUNE_COUNT:
description: number of past runs to keep (`0` keeps everything)
default: 0
GIT_COMMIT_MESSAGE:
description: the commit message for the benchmark update
# checks
CHECKS:
default: false
description: enable checks on benchmark results
CHECKS_CONFIG:
default: 'gobenchdata-checks.yml'
description: path to checks configuration