.github/workflows/test.yml in capybara-screenshot-diff-1.5.3 vs .github/workflows/test.yml in capybara-screenshot-diff-1.5.4
- old
+ new
@@ -6,11 +6,11 @@
pull_request_target:
branches: [ $default-branch ]
pull_request:
env:
- BUNDLE_GEMFILE: 'gemfiles/rails61_gems.rb'
+ BUNDLE_GEMFILE: 'gemfiles/rails70_gems.rb'
FERRUM_PROCESS_TIMEOUT: '15'
WD_CACHE_TIME: '864000' # 10 days
jobs:
lint:
@@ -22,11 +22,11 @@
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7'
+ ruby-version: '3.0'
bundler-cache: true
- name: Run Standard Ruby linter
run: bin/standardrb --no-fix --fail-fast
@@ -39,11 +39,11 @@
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7'
+ ruby-version: '3.0'
bundler-cache: true
- name: Install libvips
run: sudo apt install libvips libvips-dev libvips-tools
@@ -69,24 +69,21 @@
needs: [ 'test', 'lint' ]
runs-on: ubuntu-20.04
strategy:
matrix:
- ruby-version: [ '3.0', '2.7', '2.6', 'jruby' ]
+ ruby-version: [ '3.1', '3.0', '2.7', '2.6', 'jruby' ]
gemfile:
- 'rails61_gems.rb'
- 'rails60_gems.rb'
- 'rails52.gemfile'
- - 'rails51.gemfile'
- - 'rails50.gemfile'
- - 'rails42.gemfile'
-# exclude:
-# - ruby-version: '3.0'
-# gemfile: 'rails50_gems.rb'
-# - ruby-version: '3.0'
-# gemfile: 'rails42_gems.rb'
-
+ include:
+ - ruby-version: 2.7
+ gemfile: rails70_gems.rb
+ # NOTE: We are testing rails 7 + ruby 3 in the `test` job
+ # - ruby-version: 3.0
+ # gemfile: rails70_gems.rb
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
steps:
- name: Checkout code
@@ -122,10 +119,10 @@
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7'
+ ruby-version: '3.0'
bundler-cache: true
- name: Install libvips
run: sudo apt install libvips libvips-dev libvips-tools