Skip to content

Commit

Permalink
Move CI on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Jan 7, 2022
1 parent 83bb36f commit 2812c3f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Runs linter and tests

on: [push, pull_request]

jobs:
linters_and_tests:
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ matrix.experimental == true }}
name: Linter and tests on ${{ matrix.os }}-ruby-${{ matrix.ruby-version }}
strategy:
matrix:
os: [ubuntu, macos]
ruby-version: ['3.1', '3.0', '2.7', '2.6', '2.5']
steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Runs linter and tests
run: bundle exec rake
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit 2812c3f

Please sign in to comment.