.github/workflows/test.yml in departure-6.6.0 vs .github/workflows/test.yml in departure-6.7.0
- old
+ new
@@ -6,61 +6,31 @@
test:
strategy:
fail-fast: false
matrix:
ruby:
- - 2.4
- - 2.5
- - 2.6
- - 2.7
- 3.0
- 3.1
- 3.2
- 3.3
- rails:
- - 5.2.0
- - 6.0.0
- - 6.1.0
- - 7.0.1
- - 7.1.2
- exclude: # These Rails versions are too new for the respective Ruby versions, or vice-versa
- - ruby: 2.4
- rails: 6.0.0
- - ruby: 2.4
- rails: 6.1.0
- - ruby: 2.4
- rails: 7.0.1
- - ruby: 2.4
- rails: 7.1.2
- - ruby: 2.5
- rails: 7.0.1
- - ruby: 2.5
- rails: 7.1.2
- - ruby: 2.6
- rails: 7.0.1
- - ruby: 2.6
- rails: 7.1.2
- - ruby: 3.0
- rails: 5.2.0
- - ruby: 3.0
- rails: 6.0.0
- - ruby: 3.1
- rails: 5.2.0
- - ruby: 3.1
- rails: 6.0.0
- - ruby: 3.2
- rails: 5.2.0
- - ruby: 3.2
- rails: 6.0.0
- - ruby: 3.3
- rails: 5.2.0
- - ruby: 3.3
- rails: 6.0.0
+ gemfile:
+ - gemfiles/rails_6_1.gemfile
+ - gemfiles/rails_7_0.gemfile
+ - gemfiles/rails_7_1.gemfile
+ include:
+ - ruby: 2.7
+ gemfile: gemfiles/ruby_2.7_rails_6_0.gemfile
+ - ruby: 2.7
+ gemfile: gemfiles/ruby_2.7_rails_6_1.gemfile
+ - ruby: 2.7
+ gemfile: gemfiles/ruby_2.7_rails_7_0.gemfile
+ - ruby: 2.7
+ gemfile: gemfiles/ruby_2.7_rails_7_1.gemfile
env:
PERCONA_DB_USER: root
PERCONA_DB_PASSWORD: root
- RAILS_VERSION: "~> ${{ matrix.rails }}"
+ BUNDLE_GEMFILE: ${{ matrix.gemfile }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
@@ -77,22 +47,17 @@
- run: bin/setup
- run: bundle exec rake
lint:
strategy:
fail-fast: false
- matrix:
- ruby:
- - 2.7
- rails:
- - 6.1.0
env:
PERCONA_DB_USER: root
PERCONA_DB_PASSWORD: root
- RAILS_VERSION: "~> ${{ matrix.rails }}"
+ BUNDLE_GEMFILE: gemfiles/ruby_2.7_rails_6_0.gemfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
- ruby-version: ${{ matrix.ruby }}
+ ruby-version: 2.7
bundler-cache: true
- run: bundle exec rubocop --parallel