Skip to content

Commit a8077a5

Browse files
authored
Try GitHub Actions for CI
1 parent e3675f4 commit a8077a5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)