From 5b6082fad6edb47509cc466a9d35e7d5eacaffe2 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Fri, 24 Jan 2025 09:10:32 +0100 Subject: [PATCH] Refine names in CI steps --- .gitea/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 4b8e5e4..e0fb70e 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -34,7 +34,8 @@ jobs: sleep 1 echo "Trying again" done - - run: | + - name: Load schema and run unit tests + run: | bundle exec rake db:schema:load bundle exec rspec env: @@ -46,7 +47,7 @@ jobs: with: files: | db/migrate/**.rb - - name: List all migrations added + - name: Redo all migrations and check there are no schema changes if: steps.changed-migration-files.outputs.any_changed == 'true' env: ALL_CHANGED_FILES: ${{ steps.changed-migration-files.outputs.all_changed_files }}