diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..b673e54 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,27 @@ +name: Run tests +on: [push] +jobs: + build: + strategy: + matrix: + ruby: + - 3.2.2 + - 3.1.4 + - 3.0.6 + - 2.7.8 + - 2.6.10 + run-tests: + runs-on: ubuntu-latest + env: + - CI: true + - BUNDLE_GEMFILE: ${{ github.workspace }}/graphql-latest.gemfile + steps: + - name: Checkout a commit + uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.version }} + bundler-cache: true + - name: Run tests + run: bundle exec rspec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 06da463..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: ruby -before_install: gem install bundler -v 2.0.1 -arch: - - amd64 - - ppc64le -rvm: - - 2.3.8 - - 2.4.10 - - 2.5.8 - - 2.6.6 - - 2.7.2 - - 3.0.0 -env: - - CI=true -gemfile: - - graphql-latest.gemfile diff --git a/README.md b/README.md index 9309bf4..2097e82 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # BatchLoader -[![Build Status](https://travis-ci.org/exAspArk/batch-loader.svg?branch=master)](https://travis-ci.org/exAspArk/batch-loader) [![Coverage Status](https://coveralls.io/repos/github/exAspArk/batch-loader/badge.svg)](https://coveralls.io/github/exAspArk/batch-loader) [![Code Climate](https://img.shields.io/codeclimate/maintainability/exAspArk/batch-loader.svg)](https://codeclimate.com/github/exAspArk/batch-loader/maintainability) [![Downloads](https://img.shields.io/gem/dt/batch-loader.svg)](https://rubygems.org/gems/batch-loader)