From 7cc8e6fca711272b2e01ebfc17a2251911b6063a Mon Sep 17 00:00:00 2001 From: Nathan Papes Date: Wed, 17 Apr 2024 20:10:51 -0400 Subject: [PATCH] lets see if caching worked --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 033b43b4b..8f1e3d5d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,9 @@ jobs: run: docker-compose up -d - name: Run tests - run: docker exec -e RAILS_ENV=test gala_web_1 bundle exec rspec --exclude-pattern="**/features/*_spec.rb" + run: | + docker exec -e RAILS_ENV=test gala_web_1 bash -c "bundle exec rails db:test:prepare && \ + bundle exec rspec --exclude-pattern=\"**/features/*_spec.rb\"" - name: Docker Compose down run: docker-compose down