From 3cf1293c81b3b51995be8e1db48d6db2d868bae4 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index ffb82d0..7ca7b1e 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -25,16 +25,19 @@ 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: "env TAILWINDCSSOPTS=--path=../../.. test/integration/user_journey_test.sh" + ruby: "3.3" runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby}} - - run: gem install bundler -v ">= 2.3.22" # for "add --path" - run: bundle install --local || bundle install - run: bundle exec rake download - run: git clone --depth=1 ${{matrix.url}} ${{matrix.name}}