From e11a4580b2bf7118667ed63fdbf224edb374c80f Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 27 Sep 2024 15:25:33 +0200 Subject: [PATCH] Improve app generation - Remove legacy `skip`s - Skip all non-needed frameworks - Do not test Rails edge against Ruby 3.1 --- .github/workflows/ruby.yml | 4 ---- Rakefile | 20 +++++++++++++++++--- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 0251d9b..0fab043 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -28,10 +28,6 @@ jobs: postgres-version: '12' channel: 'stable' - - ruby-version: '3.1' - gemfile: rails_edge - postgres-version: '16' - channel: 'experimental' - ruby-version: '3.2' gemfile: rails_edge postgres-version: '16' diff --git a/Rakefile b/Rakefile index 3bd6c38..972bd89 100644 --- a/Rakefile +++ b/Rakefile @@ -18,15 +18,29 @@ namespace :testapp do options = %w[ -q --skip-action-cable + --skip-action-mailbox --skip-action-mailer --skip-action-text --skip-active-storage --skip-asset-pipeline - --skip-bundle + --skip-bootsnap + --skip-brakeman + --skip-ci + --skip-decrypted-diffs + --skip-dev-gems + --skip-docker --skip-git + --skip-hotwire --skip-javascript - --skip-sprockets - --skip-webpack-install + --skip-jbuilder + --skip-kamal + --skip-listen + --skip-rubocop + --skip-solid + --skip-spring + --skip-system-test + --skip-test + --skip-thruster ] FileUtils.mkdir_p('tmp/aruba') Dir.chdir('tmp') do