Skip to content

Commit

Permalink
Run and rerun seeds on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Jan 14, 2024
1 parent c9a700b commit 644fc2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
env:
RAILS_ENV: test
strategy:
matrix:
ruby:
Expand All @@ -34,3 +36,11 @@ jobs:
working-directory: test/dummy
env:
PARALLEL_TEST_THRESHOLD: "10000"

- name: Run seeds
run: bin/rails db:seed:replant
working-directory: test/dummy

- name: Rerun seeds
run: bin/rails db:seed
working-directory: test/dummy

0 comments on commit 644fc2c

Please sign in to comment.