Skip to content

Commit 3a3a0eb

Browse files
committed
test: matrix tailwind 3.4 and 4.0 in integration test
1 parent a6baeb5 commit 3a3a0eb

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
plat: ["ubuntu", "windows", "macos"]
40+
tailwind: ["--version=~>3.4.14", "--version=~>4.0.0.alpha.27"]
41+
env:
4042
runs-on: ${{matrix.plat}}-latest
43+
TAILWINDCSSOPTS: ${{ matrix.tailwind }}
4144
steps:
4245
- uses: actions/checkout@v4
4346
- uses: ruby/setup-ruby@v1

.github/workflows/upstream.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ jobs:
4242
matrix:
4343
plat: ["ubuntu"]
4444
ref: ["7-2-stable", "v8.0.0.beta1", "main"]
45+
tailwind: ["--version=~>3.4.14", "--version=~>4.0.0.alpha.27"]
4546
env:
4647
RAILSOPTS: --git=https://github.com/rails/rails --ref=${{ matrix.ref }}
48+
TAILWINDCSSOPTS: ${{ matrix.tailwind }}
4749
steps:
4850
- uses: actions/checkout@v4
4951
- uses: ruby/setup-ruby@v1

test/integration/user_journey_test.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ bundle remove rails --skip-install
2626
bundle add rails --skip-install ${RAILSOPTS:-}
2727

2828
# use the tailwindcss-rails under test
29-
bundle add tailwindcss-rails --path="../.."
29+
bundle add tailwindcss-rails --skip-install --path="../.."
30+
bundle add tailwindcss-ruby --skip-install ${TAILWINDCSSOPTS:-}
3031
bundle install
3132
bundle show --paths
3233
bundle binstubs --all

0 commit comments

Comments
 (0)