Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #87 from Shopify/switch-to-gh-actions
Browse files Browse the repository at this point in the history
Use Github Actions for CI
  • Loading branch information
cjgu authored Dec 14, 2020
2 parents 972bc05 + c1a48b7 commit 415fa30
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 17 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 2.5
- 2.6
- 2.7
- head
- jruby
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
name: Tests Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Run tests
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
env:
REDIS_HOST: localhost
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in experiments.gemspec
gemspec
gem "rubysl", platform: :rbx
gem "json", platform: :rbx

group :development do
Expand Down

0 comments on commit 415fa30

Please sign in to comment.