Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
reeganviljoen committed Nov 19, 2024
1 parent 29aa3ad commit 56441b0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ jobs:
ruby-version: 3.3
bundler-cache: true
- name: Run benchmarks
env:
BENCHMARK: true
run: |
bundle exec rake partial_benchmark
bundle exec rake translatable_benchmark
bundle exec appraisal rails-8.0 rake partial_benchmark
bundle exec appraisal rails-8.0 rake translatable_benchmark
test:
name: test (${{ matrix.rails_version }}, ${{ matrix.ruby_version }}, ${{ matrix.mode }})
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ source "https://rubygems.org"
gem "rails", "~> 8.0"
gem "tailwindcss-rails", "~> 2.0"
gem "turbo-rails", "~> 1"
gem "propshaft", "~> 1.1.0"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_main.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ source "https://rubygems.org"
gem "rails", github: "rails/rails", branch: "main"
gem "tailwindcss-rails", "~> 2.0"
gem "turbo-rails", "~> 1"
gem "propshaft", "~> 1.1.0"

gemspec path: "../"
3 changes: 2 additions & 1 deletion test/sandbox/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "sprockets/railtie" if Rails.version.to_f < 8.0 && !ENV["BENCHMARK"].present?
require "sprockets/railtie" if Rails.version.to_f < 8.0
binding.irb
require "propshaft" if Rails.version.to_f >= 8.0

require "turbo-rails"
Expand Down

0 comments on commit 56441b0

Please sign in to comment.