From 3e085ece001afe1eb88a498f34cc3e5d7be864e0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 18 Oct 2023 17:36:53 +0100 Subject: [PATCH] Use db:schema:load to populate the database when linting annotations --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5