Changing woodpecker config to create the DB right before tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-08-20 23:17:38 -04:00
parent 85749a4616
commit 9c9b038ef8

View File

@@ -7,6 +7,7 @@ steps:
- gem install rake - gem install rake
- bundle config set --local path "vendor/bundle" - bundle config set --local path "vendor/bundle"
- bundle install - bundle install
- RACK_ENV=testing rake db:migrate
test_ruby34: test_ruby34:
image: ruby:3.4 image: ruby:3.4
@@ -15,7 +16,6 @@ steps:
commands: commands:
- gem install rake - gem install rake
- bundle config set --local path "vendor/bundle" - bundle config set --local path "vendor/bundle"
- rake db:migrate
- rake test:unit - rake test:unit
group: tests group: tests