From: Tom Hughes Date: Wed, 18 Oct 2023 16:36:53 +0000 (+0100) Subject: Use db:schema:load to populate the database when linting annotations X-Git-Tag: live~499^2~5 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3e085ece001afe1eb88a498f34cc3e5d7be864e0 Use db:schema:load to populate the database when linting annotations --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cdba19949..2050aaf3f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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