From 660576c3f46e71b147183ee293263b274100dc95 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Thu, 17 Oct 2024 17:41:50 -0400 Subject: [PATCH] ci: add a downstream tailwindcss-rails integration test --- .github/workflows/downstream.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index ffb82d0..ae1a76f 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -25,9 +25,13 @@ jobs: matrix: include: - url: https://github.com/rails/tailwindcss-rails - name: tailwindcss-rails + name: rails-unit command: "bin/test" ruby: "3.3" + - url: https://github.com/rails/tailwindcss-rails + name: rails-integration + command: "test/integration/user_journey_test.sh" + ruby: "3.3" runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -41,7 +45,4 @@ jobs: - name: ${{matrix.name}} test suite working-directory: ${{matrix.name}} run: | - bundle remove tailwindcss-ruby || true - bundle add tailwindcss-ruby --path=".." - bundle install --local || bundle install - ${{matrix.command}} + TAILWINDCSSOPTS='--path=".."' ${{matrix.command}}