Skip to content

Commit

Permalink
Move ci pipeline to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
xijo committed Oct 29, 2024
1 parent 6a71bc0 commit c59b9bd
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 18 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [ '2.7', '3.0', '3.1', '3.2', '3.3', 'jruby-9.2' ]

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Update Bundler
run: gem install bundler

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rspec
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.3.5
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit c59b9bd

Please sign in to comment.