From b3915810a91e7319e69ccacfaf5953a658aa6768 Mon Sep 17 00:00:00 2001 From: Yuri Bocharov Date: Tue, 20 Aug 2024 20:48:43 -0400 Subject: [PATCH] fix: swap db:reset to db:setup (#5988) DB setup includes seeding of database which we don't need to do in your github actions tests. --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b03646195d..4ae1f0f164 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,8 +33,8 @@ jobs: chmod 777 tmp tmp/downloads - name: docker UP run: docker compose up -d - - name: db:reset - run: docker compose exec -T web rails db:reset + - name: db:setup + run: docker compose exec -T web rails db:setup - name: compile assets run: docker compose exec -T web bundle exec rails assets:precompile - name: Test