Skip to content

Commit adf7fe4

Browse files
committed
migrate to github CI
1 parent eb5743f commit adf7fe4

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
jobs:
10+
test:
11+
name: Tests with Ruby ${{ matrix.ruby-version }} Rails ${{ matrix.rails }}
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
ruby-version:
16+
- 3.1
17+
- 3.2
18+
- 3.3
19+
- 3.4
20+
rails:
21+
- '7.0.0'
22+
- '7.1.0'
23+
- '7.2.0'
24+
- '8.0.0'
25+
env:
26+
RAILS_VERSION: ${{ matrix.rails }}
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: ruby/setup-ruby@v1
30+
with:
31+
ruby-version: ${{ matrix.ruby-version }}
32+
bundler-cache: true
33+
- name: Run tests
34+
run: |
35+
bundle exec rake

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)