Skip to content

Commit

Permalink
Merge branch 'master' into add-3dsecure-options-for-securionpay
Browse files Browse the repository at this point in the history
  • Loading branch information
szkarol authored Mar 17, 2021
2 parents 7f9bf94 + 7143bed commit 3af8920
Show file tree
Hide file tree
Showing 676 changed files with 42,153 additions and 25,850 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ruby-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
pull_request:
branches:
- '**'
push:
branches:
- master

jobs:
build:
name: Ruby ${{ matrix.version }} ${{ matrix.gemfile }}
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
strategy:
matrix:
version:
- 2.5
- 2.6
- 2.7
gemfile:
- gemfiles/Gemfile.rails50
- gemfiles/Gemfile.rails51
- gemfiles/Gemfile.rails52
- gemfiles/Gemfile.rails60
- gemfiles/Gemfile.rails_master
exclude:
- version: 2.6
gemfile: gemfiles/Gemfile.rails_master
- version: 2.5
gemfile: gemfiles/Gemfile.rails_master
steps:
- uses: actions/checkout@v2

- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
bundler-cache: true

- name: Test
run: bundle exec rake test
9 changes: 8 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AllCops:
- "lib/active_merchant/billing/gateways/paypal_express.rb"
- "vendor/**/*"
ExtraDetails: false
TargetRubyVersion: 2.3
TargetRubyVersion: 2.5

# Active Merchant gateways are not amenable to length restrictions
Metrics/ClassLength:
Expand All @@ -32,3 +32,10 @@ Layout/DotPosition:

Layout/CaseIndentation:
EnforcedStyle: end

Layout/IndentHash:
EnforcedStyle: consistent

Naming/PredicateName:
Exclude:
- "lib/active_merchant/billing/gateways/payeezy.rb"
Loading

0 comments on commit 3af8920

Please sign in to comment.