Use db:schema:load to populate the database when linting annotations
This commit is contained in:
parent
f37ea2fae3
commit
3e085ece00
1 changed files with 1 additions and 1 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue