Skip to content

Commit 5f85e77

Browse files
authored
CHORE: Replace travis-ci by Github-Actions (#847)
* chore: adds github action yml for ci * typo * chore: adds ruby versions at matrix based on travis-ci * chore: removes extra step * chore: makes it ubuntu-latest * chore: fix type jruby * chore: fix typo * chore: sets macos version to latest * chore: removes .travis.yml
1 parent 743ae91 commit 5f85e77

2 files changed

Lines changed: 25 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Ruby CI
2+
on:
3+
pull_request:
4+
push:
5+
branches: [ main ]
6+
jobs:
7+
test:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest]
12+
ruby-version: [ '2.4.6', '2.5.5', '2.6.3', 'jruby-9.2.16.0']
13+
steps:
14+
- uses: actions/checkout@v4
15+
name: Set up Ruby ${{ matrix.ruby-version }}
16+
- uses: ruby/setup-ruby@v1
17+
env:
18+
JRUBY_OPTS: "--debug"
19+
with:
20+
ruby-version: ${{ matrix.ruby-version }}
21+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
22+
- name: Run tests
23+
run: bundle exec rake test
24+
env:
25+
JRUBY_OPTS: "--debug"

.travis.yml

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

0 commit comments

Comments
 (0)