Skip to content

Commit eb7423d

Browse files
committed
ci: Fix integration tests with rails 7.2
which was failing because it was trying to fit Rails 7.2 into the Gemfile.lock dependencies set by rails 8.
1 parent 4a2f954 commit eb7423d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/integration/user_install_test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set -eux
99
rm -f Gemfile.lock
1010
bundle remove actionmailer || true
1111
bundle remove rails || true
12+
rm -f Gemfile.lock
1213
bundle add rails --skip-install ${RAILSOPTS:-}
1314
bundle install --prefer-local
1415
bundle exec rails -v
@@ -21,6 +22,7 @@ pushd "My Workspace"
2122
function prepare_deps {
2223
# make sure to use the same version of rails (e.g., install from git source if necessary)
2324
bundle remove rails --skip-install
25+
rm -f Gemfile.lock
2426
bundle add rails --skip-install ${RAILSOPTS:-}
2527

2628
# use the tailwindcss-rails under test

test/integration/user_upgrade_test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set -eux
99
rm -f Gemfile.lock
1010
bundle remove actionmailer || true
1111
bundle remove rails || true
12+
rm -f Gemfile.lock
1213
bundle add rails --skip-install ${RAILSOPTS:-}
1314
bundle install --prefer-local
1415

@@ -24,6 +25,7 @@ pushd test-upgrade
2425

2526
# make sure to use the same version of rails (e.g., install from git source if necessary)
2627
bundle remove rails --skip-install
28+
rm -f Gemfile.lock
2729
bundle add rails --skip-install ${RAILSOPTS:-}
2830

2931
# set up app with tailwindcss-rails v3 and tailwindcss-ruby v3

0 commit comments

Comments
 (0)