Skip to content

Commit

Permalink
Travis -> GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
UserNotFound committed Jun 25, 2024
1 parent 9861213 commit 62626ca
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, 2.7]
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Install Ruby ${{ matrix.RUBY_VERSION }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.RUBY_VERSION }}
bundler-version: 1.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 62626ca

Please sign in to comment.