Skip to content

Commit

Permalink
Travis -> GHA (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
UserNotFound authored Jun 26, 2024
1 parent 9861213 commit 0d571a2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 9 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Tests

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
test:
name: Run tests on Ruby ${{ matrix.RUBY_VERSION }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
RUBY_VERSION: [2.1, 2.2, 2.3, 2.4, 2.5, 2.6]
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.RUBY_VERSION }}
bundler: 1.17.3

- name: Bundle install
run: bundle install

- name: Rubocop
run: bundle exec rake rubocop

- name: Rspec
run: bundle exec rspec
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit 0d571a2

Please sign in to comment.