Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split CI matrix, extract edge. #2249

Merged
merged 1 commit into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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