Skip to content

Commit

Permalink
CHORE: Replace travis-ci by Github-Actions (#847)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
bragamat committed Nov 11, 2023
1 parent 743ae91 commit 5f85e77
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,25 @@
name: Ruby CI
on:
pull_request:
push:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
ruby-version: [ '2.4.6', '2.5.5', '2.6.3', 'jruby-9.2.16.0']
steps:
- uses: actions/checkout@v4
name: Set up Ruby ${{ matrix.ruby-version }}
- uses: ruby/setup-ruby@v1
env:
JRUBY_OPTS: "--debug"
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake test
env:
JRUBY_OPTS: "--debug"
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

0 comments on commit 5f85e77

Please sign in to comment.