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 2c21694
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 18 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

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

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [ '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'jruby-9.2' ] # Specify Ruby versions you want to test against

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 # Caches gems automatically

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rspec # Adjust this if using a different test command
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 2c21694

Please sign in to comment.