Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTatarnikov committed Sep 5, 2024
2 parents 519c6ef + 4c98e17 commit f870b73
Show file tree
Hide file tree
Showing 64 changed files with 1,575 additions and 250 deletions.
25 changes: 0 additions & 25 deletions .github/stale.yml

This file was deleted.

32 changes: 17 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,17 @@ jobs:
- 6379:6379

strategy:
fail-fast: false
matrix:
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1']
gemfile: ['rails_6.0', 'rails_6.1', 'rails_7.0']

ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
ruby: ['2.7', '3.0', '3.1']

client: ['active_record', 'redis']

exclude:
# Rails 5.2 requires Ruby < 3.0
# https://github.com/rails/rails/issues/40938
- ruby: '3.0'
gemfile: 'rails_5.2'
# Rails >= 6 need Ruby >= 2.5
- ruby: '2.3'
gemfile: 'rails_6.0'
- ruby: '2.4'
gemfile: 'rails_6.0'
- ruby: '2.3'
gemfile: 'rails_6.1'
- ruby: '2.4'
gemfile: 'rails_6.1'
- ruby: '2.7'
gemfile: 'rails_7.0'

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down Expand Up @@ -100,3 +90,15 @@ jobs:
# The default PostgreSQL port
POSTGRES_PORT: 5432
CLIENT: ${{ matrix.client }}

tests:
runs-on: ubuntu-latest
needs: test
if: always()
steps:
- name: All tests ok
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ AllCops:
Exclude:
- lib/generators/**/*
- vendor/bundle/**/*
TargetRubyVersion: 2.3
NewCops: enable
TargetRubyVersion: 2.4

Layout/LineLength:
Enabled: false
Expand Down
Loading

0 comments on commit f870b73

Please sign in to comment.