Skip to content

Commit

Permalink
Migrate tests from TravisCI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
exAspArk committed Nov 23, 2023
1 parent 30c5fb1 commit 2b38548
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 18 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run tests
on:
- push
jobs:
run-tests:
strategy:
fail-fast: false
matrix:
version:
- 3.2.2
- 3.1.4
- 3.0.6
- 2.7.8
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
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion graphql-latest.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ source "https://rubygems.org"

gem 'coveralls'

gem "graphql", ">= 1.8"
gem "graphql", "~> 1.8"

gemspec

0 comments on commit 2b38548

Please sign in to comment.