.github/workflows/test.yml in formtastic-4.0.0 vs .github/workflows/test.yml in formtastic-5.0.0
- old
+ new
@@ -3,43 +3,42 @@
on:
push:
pull_request:
jobs:
+ ci:
+ runs-on: ubuntu-latest
+ needs: test
+ steps:
+ - uses: actions/checkout@v2
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
gemfile:
- - gemfiles/rails_5.2/Gemfile
- gemfiles/rails_6.0/Gemfile
- gemfiles/rails_6.1/Gemfile
+ - gemfiles/rails_7.0/Gemfile
+ - gemfiles/rails_7.1/Gemfile
- gemfiles/rails_edge/Gemfile
ruby:
- - 2.4.10
- - 2.5.8
- 2.6.6
- 2.7.2
- 3.0.0
exclude:
- - ruby: 2.4.10
- gemfile: gemfiles/rails_6.0/Gemfile
-
- - ruby: 2.4.10
- gemfile: gemfiles/rails_6.1/Gemfile
-
- - ruby: 2.4.10
+ - ruby: 2.6.6
+ gemfile: gemfiles/rails_7.0/Gemfile
+ - ruby: 2.6.6
+ gemfile: gemfiles/rails_7.1/Gemfile
+ - ruby: 2.6.6
gemfile: gemfiles/rails_edge/Gemfile
- - ruby: 3.0.0
- gemfile: gemfiles/rails_5.2/Gemfile
-
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
@@ -51,9 +50,10 @@
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
+ bundler: latest
- name: Run tests
run: |
bundle exec rake spec
script/integration.sh