Skip to content

Commit 5bc5798

Browse files
authored
Merge pull request #118 from amatsuda/gha
CI on GitHub Actions
2 parents 2247007 + 078c9be commit 5bc5798

File tree

2 files changed

+33
-24
lines changed

2 files changed

+33
-24
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
11+
matrix:
12+
ruby-version:
13+
- '2.5'
14+
- '2.6'
15+
- '2.7'
16+
- '3.0'
17+
- '3.1'
18+
- ruby-head
19+
- jruby
20+
- jruby-head
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby-version }}
28+
bundler-cache: true
29+
continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
30+
31+
- run: |
32+
bundle exec rake
33+
continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}

.travis.yml

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

0 commit comments

Comments
 (0)