Skip to content

Commit

Permalink
Travis -> GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
UserNotFound committed Jun 27, 2024
1 parent 200927f commit 89865ed
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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.2, 2.3, 2.6, 2.7]
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
bundler-cache: true

- name: Rubocop
run: bundle exec rake rubocop

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

This file was deleted.

0 comments on commit 89865ed

Please sign in to comment.