Skip to content

Commit 4d10b02

Browse files
author
Romain Gérard
committed
Run test in GitHub actions
1 parent 2bc026c commit 4d10b02

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ '**' ]
8+
9+
jobs:
10+
ci:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
ruby:
17+
- "2.7"
18+
- "3.0"
19+
# - "3.1"
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: ${{ matrix.ruby }}
26+
bundler-cache: true
27+
- name: Run tests
28+
run: bundle exec rspec

0 commit comments

Comments
 (0)