Commit cf6e649 1 parent dd6722e commit cf6e649 Copy full SHA for cf6e649
File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 52
52
- name : Run Test as Standalone
53
53
working-directory : ./${{ matrix.language }}/testdata
54
54
run : |
55
- atlas migrate diff --env typeorm --var dialect=${{ matrix.dialect }}
55
+ atlas migrate diff --env typeorm -c "file://atlas-standalone.hcl" --var dialect=${{ matrix.dialect }}
56
+ - name : Verify migrations generated
57
+ run : |
58
+ status=$(git status --porcelain)
59
+ if [ -n "$status" ]; then
60
+ echo "you need to run 'atlas migrate diff --env typeorm' and commit the changes"
61
+ echo "$status"
62
+ git --no-pager diff
63
+ exit 1
64
+ fi
65
+ - name : Run Test as ${{ matrix.language }} Script
66
+ working-directory : ./${{ matrix.language }}/testdata
67
+ run : |
68
+ atlas migrate diff --env typeorm -c "file://atlas-script.hcl" --var dialect=${{ matrix.dialect }}
56
69
- name : Verify migrations generated
57
70
run : |
58
71
status=$(git status --porcelain)
You can’t perform that action at this time.
0 commit comments