Skip to content

Commit

Permalink
Merge pull request #689 from petergoldstein/feature/switch_to_github_…
Browse files Browse the repository at this point in the history
…actions

Switch to GitHub Actions
  • Loading branch information
etagwerker authored Jan 16, 2022
2 parents 22b87c8 + a1f150f commit 20cfcea
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 14 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version:
- '3.1'
- '3.0'
- '2.7'
- '2.6'
- '2.5'

services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379

steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # 'bundle install' and cache
- name: Run tests
run: bundle exec rake
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 20cfcea

Please sign in to comment.