From e9aff8ed3ff4775059ec9dd7a807b0d88670c300 Mon Sep 17 00:00:00 2001 From: Jens Ravens Date: Wed, 23 Oct 2024 12:59:45 +0200 Subject: [PATCH] simplify matrix --- .github/workflows/test.yml | 9 +- gemfiles/Gemfile-rails-7-0 | 49 ---- gemfiles/Gemfile-rails-7-0.lock | 410 -------------------------------- 3 files changed, 3 insertions(+), 465 deletions(-) delete mode 100644 gemfiles/Gemfile-rails-7-0 delete mode 100644 gemfiles/Gemfile-rails-7-0.lock diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13ebaf8..2695981 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,7 @@ jobs: - "3.1" - "3.2" - "3.3" - gemfile: - - "rails-7-0" runs-on: ubuntu-latest - env: - BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile-${{ matrix.gemfile }} steps: - uses: actions/checkout@v4 - name: Install dependencies from apt @@ -28,7 +24,7 @@ jobs: bundler-cache: true - uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: "22.x" cache: "yarn" - name: Install JS/TS Dependencies run: yarn install @@ -38,8 +34,9 @@ jobs: run: yarn build - name: Lint Ruby run: bundle exec rubocop -c .rubocop.yml + - name: Install Playwright + run: cd spec/rails_app && yarn playwright install --with-deps chromium - name: Ruby Tests run: (cd spec/rails_app && bin/rails assets:precompile) && bin/rspec --format documentation env: RAILS_ENV: test - RSPEC_RETRY_RETRY_COUNT: 3 diff --git a/gemfiles/Gemfile-rails-7-0 b/gemfiles/Gemfile-rails-7-0 deleted file mode 100644 index e0061d0..0000000 --- a/gemfiles/Gemfile-rails-7-0 +++ /dev/null @@ -1,49 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" - -# Specify your gem's dependencies in shimmer.gemspec -gemspec path: ".." - -gem "rails", "~> 7.0.0" -gem "propshaft" -gem "sqlite3", "~> 1.6" -gem "puma" -gem "jsbundling-rails" -gem "turbo-rails" -gem "stimulus-rails" -gem "cssbundling-rails" -gem "jbuilder" -gem "bootsnap", require: false -gem "dotenv" -gem "slim-rails" -gem "awesome_print" -gem "dotenv-rails" -gem "image_processing" - -group :development, :test do - gem "debug", platforms: %i[mri mingw x64_mingw] - gem "rake" - gem "rspec-rails" - gem "rspec-retry" - gem "pry" - gem "pry-rails" - gem "pry-byebug" - gem "pry-doc" - gem "guard" - gem "guard-rspec" - gem "capybara" - gem "rack_session_access" - gem "cuprite" - gem "standard" - gem "rubocop" - gem "rubocop-rails" - gem "rubocop-performance" - gem "rubocop-rspec" - gem "rubocop-rake" -end - -group :development do - gem "web-console" - gem "annotate" -end diff --git a/gemfiles/Gemfile-rails-7-0.lock b/gemfiles/Gemfile-rails-7-0.lock deleted file mode 100644 index a63d076..0000000 --- a/gemfiles/Gemfile-rails-7-0.lock +++ /dev/null @@ -1,410 +0,0 @@ -PATH - remote: .. - specs: - shimmer (0.0.1) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (7.0.8.4) - actionpack (= 7.0.8.4) - activesupport (= 7.0.8.4) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailbox (7.0.8.4) - actionpack (= 7.0.8.4) - activejob (= 7.0.8.4) - activerecord (= 7.0.8.4) - activestorage (= 7.0.8.4) - activesupport (= 7.0.8.4) - mail (>= 2.7.1) - net-imap - net-pop - net-smtp - actionmailer (7.0.8.4) - actionpack (= 7.0.8.4) - actionview (= 7.0.8.4) - activejob (= 7.0.8.4) - activesupport (= 7.0.8.4) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp - rails-dom-testing (~> 2.0) - actionpack (7.0.8.4) - actionview (= 7.0.8.4) - activesupport (= 7.0.8.4) - rack (~> 2.0, >= 2.2.4) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.8.4) - actionpack (= 7.0.8.4) - activerecord (= 7.0.8.4) - activestorage (= 7.0.8.4) - activesupport (= 7.0.8.4) - globalid (>= 0.6.0) - nokogiri (>= 1.8.5) - actionview (7.0.8.4) - activesupport (= 7.0.8.4) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.8.4) - activesupport (= 7.0.8.4) - globalid (>= 0.3.6) - activemodel (7.0.8.4) - activesupport (= 7.0.8.4) - activerecord (7.0.8.4) - activemodel (= 7.0.8.4) - activesupport (= 7.0.8.4) - activestorage (7.0.8.4) - actionpack (= 7.0.8.4) - activejob (= 7.0.8.4) - activerecord (= 7.0.8.4) - activesupport (= 7.0.8.4) - marcel (~> 1.0) - mini_mime (>= 1.1.0) - activesupport (7.0.8.4) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - addressable (2.8.1) - public_suffix (>= 2.0.2, < 6.0) - annotate (3.2.0) - activerecord (>= 3.2, < 8.0) - rake (>= 10.4, < 14.0) - ast (2.4.2) - awesome_print (1.9.2) - bindex (0.8.1) - bootsnap (1.16.0) - msgpack (~> 1.2) - builder (3.3.0) - byebug (11.1.3) - capybara (3.38.0) - addressable - matrix - mini_mime (>= 0.1.3) - nokogiri (~> 1.8) - rack (>= 1.6.0) - rack-test (>= 0.6.3) - regexp_parser (>= 1.5, < 3.0) - xpath (~> 3.2) - coderay (1.1.3) - concurrent-ruby (1.3.3) - crass (1.0.6) - cssbundling-rails (1.1.2) - railties (>= 6.0.0) - cuprite (0.14.3) - capybara (~> 3.0) - ferrum (~> 0.13.0) - date (3.3.4) - debug (1.7.1) - irb (>= 1.5.0) - reline (>= 0.3.1) - diff-lcs (1.5.0) - dotenv (2.8.1) - dotenv-rails (2.8.1) - dotenv (= 2.8.1) - railties (>= 3.2) - erubi (1.13.0) - ferrum (0.13) - addressable (~> 2.5) - concurrent-ruby (~> 1.1) - webrick (~> 1.7) - websocket-driver (>= 0.6, < 0.8) - ffi (1.15.5) - formatador (1.1.0) - globalid (1.2.1) - activesupport (>= 6.1) - guard (2.18.0) - formatador (>= 0.2.4) - listen (>= 2.7, < 4.0) - lumberjack (>= 1.0.12, < 2.0) - nenv (~> 0.1) - notiffany (~> 0.0) - pry (>= 0.13.0) - shellany (~> 0.0) - thor (>= 0.18.1) - guard-compat (1.2.1) - guard-rspec (4.7.3) - guard (~> 2.1) - guard-compat (~> 1.1) - rspec (>= 2.99.0, < 4.0) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - image_processing (1.12.2) - mini_magick (>= 4.9.5, < 5) - ruby-vips (>= 2.0.17, < 3) - io-console (0.6.0) - irb (1.6.2) - reline (>= 0.3.0) - jbuilder (2.11.5) - actionview (>= 5.0.0) - activesupport (>= 5.0.0) - jsbundling-rails (1.1.1) - railties (>= 6.0.0) - json (2.6.3) - language_server-protocol (3.17.0.3) - lint_roller (1.0.0) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.22.0) - crass (~> 1.0.2) - nokogiri (>= 1.12.0) - lumberjack (1.2.8) - mail (2.8.1) - mini_mime (>= 0.1.1) - net-imap - net-pop - net-smtp - marcel (1.0.4) - matrix (0.4.2) - method_source (1.1.0) - mini_magick (4.12.0) - mini_mime (1.1.5) - mini_portile2 (2.8.7) - minitest (5.24.1) - msgpack (1.6.0) - nenv (0.3.0) - net-imap (0.4.14) - date - net-protocol - net-pop (0.1.2) - net-protocol - net-protocol (0.2.2) - timeout - net-smtp (0.5.0) - net-protocol - nio4r (2.7.3) - nokogiri (1.16.6) - mini_portile2 (~> 2.8.2) - racc (~> 1.4) - nokogiri (1.16.6-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.6-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.16.6-x86_64-linux) - racc (~> 1.4) - notiffany (0.1.3) - nenv (~> 0.1) - shellany (~> 0.0) - parallel (1.23.0) - parser (3.2.2.1) - ast (~> 2.4.1) - propshaft (0.6.4) - actionpack (>= 7.0.0) - activesupport (>= 7.0.0) - rack - railties (>= 7.0.0) - pry (0.14.2) - coderay (~> 1.1) - method_source (~> 1.0) - pry-byebug (3.10.1) - byebug (~> 11.0) - pry (>= 0.13, < 0.15) - pry-doc (1.4.0) - pry (~> 0.11) - yard (~> 0.9.11) - pry-rails (0.3.9) - pry (>= 0.10.4) - public_suffix (5.0.1) - puma (6.0.2) - nio4r (~> 2.0) - racc (1.8.0) - rack (2.2.9) - rack-test (2.1.0) - rack (>= 1.3) - rack_session_access (0.2.0) - builder (>= 2.0.0) - rack (>= 1.0.0) - rails (7.0.8.4) - actioncable (= 7.0.8.4) - actionmailbox (= 7.0.8.4) - actionmailer (= 7.0.8.4) - actionpack (= 7.0.8.4) - actiontext (= 7.0.8.4) - actionview (= 7.0.8.4) - activejob (= 7.0.8.4) - activemodel (= 7.0.8.4) - activerecord (= 7.0.8.4) - activestorage (= 7.0.8.4) - activesupport (= 7.0.8.4) - bundler (>= 1.15.0) - railties (= 7.0.8.4) - rails-dom-testing (2.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.0.8.4) - actionpack (= 7.0.8.4) - activesupport (= 7.0.8.4) - method_source - rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) - rainbow (3.1.1) - rake (13.2.1) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - regexp_parser (2.8.0) - reline (0.3.2) - io-console (~> 0.5) - rexml (3.2.5) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.1) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.2) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.3) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (6.0.1) - actionpack (>= 6.1) - activesupport (>= 6.1) - railties (>= 6.1) - rspec-core (~> 3.11) - rspec-expectations (~> 3.11) - rspec-mocks (~> 3.11) - rspec-support (~> 3.11) - rspec-retry (0.6.2) - rspec-core (> 3.3) - rspec-support (3.12.0) - rubocop (1.50.2) - json (~> 2.3) - parallel (~> 1.10) - parser (>= 3.2.0.0) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.28.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) - rubocop (~> 1.41) - rubocop-performance (1.16.0) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - rubocop-rails (2.17.4) - activesupport (>= 4.2.0) - rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) - rubocop-rake (0.6.0) - rubocop (~> 1.0) - rubocop-rspec (2.20.0) - rubocop (~> 1.33) - rubocop-capybara (~> 2.17) - ruby-progressbar (1.13.0) - ruby-vips (2.1.4) - ffi (~> 1.12) - shellany (0.0.1) - slim (4.1.0) - temple (>= 0.7.6, < 0.9) - tilt (>= 2.0.6, < 2.1) - slim-rails (3.5.1) - actionpack (>= 3.1) - railties (>= 3.1) - slim (>= 3.0, < 5.0) - sqlite3 (1.7.3) - mini_portile2 (~> 2.8.0) - sqlite3 (1.7.3-arm64-darwin) - sqlite3 (1.7.3-x86_64-darwin) - sqlite3 (1.7.3-x86_64-linux) - standard (1.28.0) - language_server-protocol (~> 3.17.0.2) - lint_roller (~> 1.0) - rubocop (~> 1.50.2) - standard-custom (~> 1.0.0) - standard-performance (~> 1.0.1) - standard-custom (1.0.0) - lint_roller (~> 1.0) - standard-performance (1.0.1) - lint_roller (~> 1.0) - rubocop-performance (~> 1.16.0) - stimulus-rails (1.2.1) - railties (>= 6.0.0) - temple (0.8.2) - thor (1.3.1) - tilt (2.0.11) - timeout (0.4.1) - turbo-rails (1.3.3) - actionpack (>= 6.0.0) - activejob (>= 6.0.0) - railties (>= 6.0.0) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - unicode-display_width (2.4.2) - web-console (4.2.0) - actionview (>= 6.0.0) - activemodel (>= 6.0.0) - bindex (>= 0.4.0) - railties (>= 6.0.0) - webrick (1.8.1) - websocket-driver (0.7.6) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - xpath (3.2.0) - nokogiri (~> 1.8) - yard (0.9.26) - zeitwerk (2.6.16) - -PLATFORMS - arm64-darwin-22 - ruby - x86_64-darwin-22 - x86_64-linux - -DEPENDENCIES - annotate - awesome_print - bootsnap - capybara - cssbundling-rails - cuprite - debug - dotenv - dotenv-rails - guard - guard-rspec - image_processing - jbuilder - jsbundling-rails - propshaft - pry - pry-byebug - pry-doc - pry-rails - puma - rack_session_access - rails (~> 7.0.0) - rake - rspec-rails - rspec-retry - rubocop - rubocop-performance - rubocop-rails - rubocop-rake - rubocop-rspec - shimmer! - slim-rails - sqlite3 (~> 1.6) - standard - stimulus-rails - turbo-rails - web-console - -BUNDLED WITH - 2.4.9