Use db:schema:load to populate the database when linting annotations

This commit is contained in:
Tom Hughes 2023-10-18 17:36:53 +01:00
parent f37ea2fae3
commit 3e085ece00

View file

@ -91,7 +91,7 @@ jobs:
sudo -u postgres createuser -s $(id -un)
createdb openstreetmap
cp config/github.database.yml config/database.yml
bundle exec rails db:test:load
bundle exec rails db:schema:load
- name: Run Annotate Models
run: bundle exec rails annotate_models
- name: Fail if model annotations are out of date