Skip to content

Commit a100ad3

Browse files
authored
Migrate from CircleCI to GitHub actions (#95)
1 parent ff8b3d7 commit a100ad3

File tree

3 files changed

+40
-79
lines changed

3 files changed

+40
-79
lines changed

.circleci/config.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
rspec:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
ruby:
15+
- "2.7.5"
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby }}
22+
bundler-cache: true
23+
- name: Run rspec
24+
run: bundle exec rake test
25+
rubocop:
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
ruby:
30+
- "2.7.5"
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Set up Ruby
34+
uses: ruby/setup-ruby@v1
35+
with:
36+
ruby-version: ${{ matrix.ruby }}
37+
bundler-cache: true
38+
- name: Run rubocop
39+
run: bundle exec rubocop

test/rails_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
RAILS_VERSIONS = %w[
99
6.0.4.4
1010
6.1.4.4
11-
7.0.0
11+
7.0.1
1212
].freeze
1313

1414
RAILS_FLAGS = %w[

0 commit comments

Comments
 (0)