1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Readability

This commit is contained in:
Akira Matsuda 2022-01-10 20:14:12 +09:00
parent 2d9581c697
commit 3db01b8e9f

View file

@ -15,14 +15,9 @@ jobs:
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
ruby_version: ruby_version: ['3.1', '3.0', '2.7', '2.6', '2.5', 'jruby-9.3.2.0']
- '3.1'
- '3.0'
- '2.7'
- '2.6'
- '2.5'
- 'jruby-9.3.2.0'
gemfile: gemfile:
- gemfiles/active_record_70.gemfile - gemfiles/active_record_70.gemfile
- gemfiles/active_record_61.gemfile - gemfiles/active_record_61.gemfile
@ -31,10 +26,8 @@ jobs:
- gemfiles/active_record_51.gemfile - gemfiles/active_record_51.gemfile
- gemfiles/active_record_50.gemfile - gemfiles/active_record_50.gemfile
- gemfiles/active_record_edge.gemfile - gemfiles/active_record_edge.gemfile
db: db: ['sqlite3', 'postgresql', 'mysql']
- sqlite3
- postgresql
- mysql
exclude: exclude:
- ruby_version: '3.1' - ruby_version: '3.1'
gemfile: gemfiles/active_record_60.gemfile gemfile: gemfiles/active_record_60.gemfile
@ -66,6 +59,7 @@ jobs:
gemfile: gemfiles/active_record_70.gemfile gemfile: gemfiles/active_record_70.gemfile
- ruby_version: 'jruby-9.3.2.0' - ruby_version: 'jruby-9.3.2.0'
gemfile: gemfiles/active_record_edge.gemfile gemfile: gemfiles/active_record_edge.gemfile
include: include:
- ruby_version: 'ruby-head' - ruby_version: 'ruby-head'
gemfile: gemfiles/active_record_edge.gemfile gemfile: gemfiles/active_record_edge.gemfile
@ -76,9 +70,11 @@ jobs:
- ruby_version: 'ruby-head' - ruby_version: 'ruby-head'
gemfile: gemfiles/active_record_edge.gemfile gemfile: gemfiles/active_record_edge.gemfile
db: mysql db: mysql
- ruby_version: '2.4' - ruby_version: '2.4'
gemfile: gemfiles/active_record_52.gemfile gemfile: gemfiles/active_record_52.gemfile
db: sqlite3 db: sqlite3
- ruby_version: '2.3' - ruby_version: '2.3'
gemfile: gemfiles/active_record_52.gemfile gemfile: gemfiles/active_record_52.gemfile
db: sqlite3 db: sqlite3
@ -88,18 +84,23 @@ jobs:
- ruby_version: '2.3' - ruby_version: '2.3'
gemfile: gemfiles/active_record_41.gemfile gemfile: gemfiles/active_record_41.gemfile
db: sqlite3 db: sqlite3
- ruby_version: '2.2' - ruby_version: '2.2'
gemfile: gemfiles/active_record_52.gemfile gemfile: gemfiles/active_record_52.gemfile
db: sqlite3 db: sqlite3
- ruby_version: '2.1' - ruby_version: '2.1'
gemfile: gemfiles/active_record_42.gemfile gemfile: gemfiles/active_record_42.gemfile
db: sqlite3 db: sqlite3
runs-on: ubuntu-18.04
env: env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }} BUNDLE_GEMFILE: ${{ matrix.gemfile }}
DB: ${{ matrix.db }} DB: ${{ matrix.db }}
POSTGRES_PASSWORD: postgres # for passing the password to the Rails process POSTGRES_PASSWORD: postgres # for passing the password to the Rails process
MYSQL_PASSWORD: root # for passing the password to the Rails process MYSQL_PASSWORD: root # for passing the password to the Rails process
runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install libmysqld-dev - name: Install libmysqld-dev