Skip to content

Commit 6d264e9

Browse files
committed
benchmark and rubocop workflows
1 parent 9485c95 commit 6d264e9

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# Github benchmark test workflow
3+
#
4+
name: CI Benchmark Test
5+
on: [pull_request]
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
ruby:
12+
- '3.2.0'
13+
14+
services:
15+
redis:
16+
image: redis
17+
ports: ["6379:6379"]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{ matrix.ruby }}
25+
bundler-cache: true
26+
27+
- name: Run benchmark tests
28+
run: bundle exec ruby benchmark.rb

.github/workflows/rubocop.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Github rubocop linting workflow
3+
#
4+
name: Rubocop Linting
5+
on: [pull_request]
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Rubocop Linter Action
12+
uses: andrewmcodes/[email protected]
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)