Skip to content

Commit

Permalink
fix: swap db:reset to db:setup (rubyforgood#5988)
Browse files Browse the repository at this point in the history
DB setup includes seeding of database which we don't need to do in your
github actions tests.
  • Loading branch information
elasticspoon authored Aug 21, 2024
1 parent b0d9cf8 commit b391581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b391581

Please sign in to comment.