Merge pull request #1262 from activemerchant/bump-gems-DEC-04 #2942
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
- 3.1 | |
- 3.2 | |
- 3.3 | |
gemfile: | |
- gemfiles/rails-7-0.gemfile | |
- gemfiles/rails-latest-release.gemfile | |
- gemfiles/rails-edge.gemfile | |
exclude: | |
- version: 3.1 | |
gemfile: gemfiles/rails-edge.gemfile | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby ${{ matrix.version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.version }} | |
bundler-cache: true | |
rubygems: latest | |
- name: Test | |
run: bundle exec rake test | |