Skip to content

Commit fb8aa3f

Browse files
committed
ci: Add benchmark to Github Actions
1 parent 325749e commit fb8aa3f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,21 @@ jobs:
5050
version: ${{ matrix.neovim_version }}
5151
- name: Test GutterMarks
5252
run: make test
53+
54+
benchmark:
55+
name: Benchmarks
56+
timeout-minutes: 10
57+
strategy:
58+
fail-fast: false
59+
matrix:
60+
os: ["ubuntu-latest"]
61+
runs-on: ${{ matrix.os }}
62+
63+
steps:
64+
- uses: actions/checkout@v4
65+
- name: Setup neovim
66+
uses: rhysd/action-setup-vim@v1
67+
with:
68+
neovim: true
69+
- name: Benchmark GutterMarks
70+
run: make bench

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,4 @@ check-lua:
2626
fmt:
2727
stylua lua plugin test
2828

29-
ci: check test
30-
3129
.PHONY: default fmt check check-fmt check-lua ci test bench

0 commit comments

Comments
 (0)