]> git.openstreetmap.org Git - rails.git/commitdiff
Use db:schema:load to populate the database when linting annotations
authorTom Hughes <tom@compton.nu>
Wed, 18 Oct 2023 16:36:53 +0000 (17:36 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 18 Oct 2023 17:26:14 +0000 (18:26 +0100)
.github/workflows/lint.yml

index cdba19949ef891ffec281613e8ea3aa050d7441f..2050aaf3f264f416a41f58fa2cfeb4167eb8a7dc 100644 (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