From 077dde1c236baba9244caad4d9e82ea8399dae20 Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 20 Nov 2019 19:55:58 +0900 Subject: [PATCH] temporary: try alert comment --- .github/workflows/ci.yml | 3 +++ examples/go/fib_test.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b2bdc5cb..5800e4c56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,9 @@ jobs: output-file-path: examples/go/output.txt skip-fetch-gh-pages: true fail-on-alert: true + github-token: ${{ secrets.GITHUB_TOKEN }} + comment-on-alert: true + alert-comment-cc-users: '@rhysd' - run: node ./scripts/ci_validate_modification.js before_data.js 'Go Benchmark' benchmarkjs: name: Run JavaScript benchmark example diff --git a/examples/go/fib_test.go b/examples/go/fib_test.go index 51c3777f2..6a1cf2173 100644 --- a/examples/go/fib_test.go +++ b/examples/go/fib_test.go @@ -6,12 +6,12 @@ import ( func BenchmarkFib10(b *testing.B) { for i := 0; i < b.N; i++ { - var _ = Fib(10) + var _ = Fib(13) } } func BenchmarkFib20(b *testing.B) { for i := 0; i < b.N; i++ { - var _ = Fib(20) + var _ = Fib(23) } }