Test reversibility of migrations #220
@ -50,6 +50,8 @@ jobs:
|
|||||||
if: steps.changed-migration-files.outputs.any_changed == 'true'
|
if: steps.changed-migration-files.outputs.any_changed == 'true'
|
||||||
env:
|
env:
|
||||||
ALL_CHANGED_FILES: ${{ steps.changed-migration-files.outputs.all_changed_files }}
|
ALL_CHANGED_FILES: ${{ steps.changed-migration-files.outputs.all_changed_files }}
|
||||||
|
RAILS_ENV: test
|
||||||
|
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||||
run: |
|
run: |
|
||||||
echo ${#ALL_CHANGED_FILES[@]} migrations changed:
|
echo ${#ALL_CHANGED_FILES[@]} migrations changed:
|
||||||
for file in ${ALL_CHANGED_FILES}; do
|
for file in ${ALL_CHANGED_FILES}; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user