From bf6c267676b5709007f8eb998801967c0e0eca55 Mon Sep 17 00:00:00 2001 From: Robin Daugherty Date: Wed, 2 Dec 2020 14:09:42 -0500 Subject: [PATCH] Add CI build for Ruby 3.0.0-preview1 And exclude some unsupported Rails configurations. --- .github/workflows/ci.yml | 52 ++++++++++++++++++++++++++++++---------- 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 598146b7..64a8f2ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - 2.5 - 2.6 - 2.7 - # - ruby-head + - 3.0.0-preview1 # - truffleruby-head gemfile: # These are located in the gemfiles/ folder @@ -50,6 +50,8 @@ jobs: # - pry10 # - pry11 exclude: + # Following https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html + # to decide what to include. - { ruby: 2.2, gemfile: rails60 } - { ruby: 2.2, gemfile: rails60_boc } - { ruby: 2.2, gemfile: rails60_haml } @@ -77,21 +79,45 @@ jobs: - { ruby: 2.5, gemfile: rails42 } - { ruby: 2.5, gemfile: rails42_boc } - { ruby: 2.5, gemfile: rails42_haml } - - { ruby: 2.6, gemfile: rails42 } - - { ruby: 2.6, gemfile: rails42_boc } - - { ruby: 2.6, gemfile: rails42_haml } + - { ruby: 2.6, gemfile: rails50 } + - { ruby: 2.6, gemfile: rails50_boc } + - { ruby: 2.6, gemfile: rails50_haml } + - { ruby: 2.6, gemfile: rails51 } + - { ruby: 2.6, gemfile: rails51_boc } + - { ruby: 2.6, gemfile: rails51_haml } + - { ruby: 2.6, gemfile: rails60 } + - { ruby: 2.6, gemfile: rails60_boc } + - { ruby: 2.6, gemfile: rails60_haml } - { ruby: 2.7, gemfile: rails42 } - { ruby: 2.7, gemfile: rails42_boc } - { ruby: 2.7, gemfile: rails42_haml } - # - { ruby: ruby-head, gemfile: rails42 } - # - { ruby: ruby-head, gemfile: rails42_boc } - # - { ruby: ruby-head, gemfile: rails42_haml } - - { ruby: truffleruby-head, gemfile: rails42_boc } - - { ruby: truffleruby-head, gemfile: rails50_boc } - - { ruby: truffleruby-head, gemfile: rails51_boc } - - { ruby: truffleruby-head, gemfile: rails52_boc } - - { ruby: truffleruby-head, gemfile: rails60_boc } - - { ruby: truffleruby-head, gemfile: rack_boc } + - { ruby: 2.7, gemfile: rails50 } + - { ruby: 2.7, gemfile: rails50_boc } + - { ruby: 2.7, gemfile: rails50_haml } + - { ruby: 2.7, gemfile: rails51 } + - { ruby: 2.7, gemfile: rails51_boc } + - { ruby: 2.7, gemfile: rails51_haml } + - { ruby: 2.7, gemfile: rails60 } + - { ruby: 2.7, gemfile: rails60_boc } + - { ruby: 2.7, gemfile: rails60_haml } + - { ruby: 3.0.0-preview1, gemfile: rails42 } + - { ruby: 3.0.0-preview1, gemfile: rails42_boc } + - { ruby: 3.0.0-preview1, gemfile: rails42_haml } + - { ruby: 3.0.0-preview1, gemfile: rails50 } + - { ruby: 3.0.0-preview1, gemfile: rails50_boc } + - { ruby: 3.0.0-preview1, gemfile: rails50_haml } + - { ruby: 3.0.0-preview1, gemfile: rails51 } + - { ruby: 3.0.0-preview1, gemfile: rails51_boc } + - { ruby: 3.0.0-preview1, gemfile: rails51_haml } + - { ruby: 3.0.0-preview1, gemfile: rails60 } + - { ruby: 3.0.0-preview1, gemfile: rails60_boc } + - { ruby: 3.0.0-preview1, gemfile: rails60_haml } + # - { ruby: truffleruby-head, gemfile: rails42_boc } + # - { ruby: truffleruby-head, gemfile: rails50_boc } + # - { ruby: truffleruby-head, gemfile: rails51_boc } + # - { ruby: truffleruby-head, gemfile: rails52_boc } + # - { ruby: truffleruby-head, gemfile: rails60_boc } + # - { ruby: truffleruby-head, gemfile: rack_boc } steps: