From 3462c812d14c6023125c7bbf303f61d879e3a26f Mon Sep 17 00:00:00 2001 From: Patricio Cano Date: Tue, 1 Mar 2022 10:31:16 -0600 Subject: [PATCH 1/2] chore: Setup GitHub Actions for CI --- .github/workflows/ruby.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ruby.yml diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..41b5500 --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,28 @@ +# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake +# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby + +name: Ruby + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: ['2.6', '2.7', '3.0', 'jruby-head'] + + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Run tests + run: bundle exec rspec From 29c1761846258e8b55fb290cf841919fc4846834 Mon Sep 17 00:00:00 2001 From: Patricio Cano Date: Tue, 1 Mar 2022 10:33:44 -0600 Subject: [PATCH 2/2] chore: Remove .travis.yml file --- .travis.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5fe5ae7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -env: - global: - - JRUBY_OPTS="$JRUBY_OPTS --debug" - -sudo: false -language: ruby -cache: bundler - -before_install: - - gem update bundler - -before_script: - - bundle update - -script: - - bundle exec rspec - -rvm: - - 2.4 - - 2.5 - - 2.6 - - 2.7 - - jruby-head - - ruby-head - -matrix: - allow_failures: - - rvm: ruby-head - - fast_finish: true -