Skip to content

Commit

Permalink
Merge pull request #2249 from dblock/split-edge-matrix
Browse files Browse the repository at this point in the history
Split CI matrix, extract edge.
  • Loading branch information
dblock authored Feb 28, 2022
2 parents f48cde3 + 6089469 commit d3d21b8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 23 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: edge
on:
pull_request:
branches:
- "*"
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- ruby: 2.7
gemfile: 'gemfiles/rails_edge.gemfile'
- ruby: 2.7
gemfile: 'gemfiles/rack_edge.gemfile'
- ruby: "ruby-head"
- ruby: "truffleruby-head"
- ruby: "jruby-head"
runs-on: ubuntu-20.04
continue-on-error: true
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

steps:
- uses: actions/checkout@v2

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

- name: Run tests
run: bundle exec rake spec
23 changes: 0 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,49 +37,26 @@ jobs:
- gemfiles/rails_5.gemfile
- gemfiles/rails_6.gemfile
- gemfiles/rails_6_1.gemfile
experimental: [false]
include:
- ruby: 3.1
gemfile: 'gemfiles/multi_json.gemfile'
experimental: false
- ruby: 3.1
gemfile: 'gemfiles/multi_xml.gemfile'
experimental: false
- ruby: 3.1
gemfile: 'gemfiles/rails_7.gemfile'
experimental: false
- ruby: "3.0"
gemfile: 'gemfiles/multi_json.gemfile'
experimental: false
- ruby: "3.0"
gemfile: 'gemfiles/multi_xml.gemfile'
experimental: false
- ruby: "3.0"
gemfile: 'gemfiles/rails_7.gemfile'
experimental: false
- ruby: 2.7
gemfile: 'gemfiles/multi_json.gemfile'
experimental: false
- ruby: 2.7
gemfile: 'gemfiles/multi_xml.gemfile'
experimental: false
- ruby: 2.7
gemfile: 'gemfiles/rails_7.gemfile'
experimental: false
- ruby: 2.7
gemfile: 'gemfiles/rails_edge.gemfile'
experimental: true
- ruby: 2.7
gemfile: 'gemfiles/rack_edge.gemfile'
experimental: true
- ruby: "ruby-head"
experimental: true
- ruby: "truffleruby-head"
experimental: true
- ruby: "jruby-head"
experimental: true
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [#2233](/~https://github.com/ruby-grape/grape/pull/2233): A setting for disabling documentation to internal APIs - [@dnesteryuk](/~https://github.com/dnesteryuk).
* [#2235](/~https://github.com/ruby-grape/grape/pull/2235): Add Ruby 3.1 to CI - [@petergoldstein](/~https://github.com/petergoldstein).
* [#2248](/~https://github.com/ruby-grape/grape/pull/2248): Upgraded to rspec 3.11.0 - [@dblock](/~https://github.com/dblock).
* [#2249](/~https://github.com/ruby-grape/grape/pull/2249): Split ci matrix, extract edge - [@dblock](/~https://github.com/dblock).
* Your contribution here.

#### Fixes
Expand Down

0 comments on commit d3d21b8

Please sign in to comment.