Skip to content

Commit

Permalink
Use db:schema:load to populate the database when linting annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Oct 18, 2023
1 parent 18e46c2 commit b7fe56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7fe56d

Please sign in to comment.