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 6fa5c2d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 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:
matrix:
ruby:
- 3.2.2
- 3.1.4
- 3.0.6
- 2.7.8
- 2.6.10
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

0 comments on commit 6fa5c2d

Please sign in to comment.