Skip to content

Commit ed57cfc

Browse files
committed
chore: move migrations
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent d6f01e6 commit ed57cfc

13 files changed

+4
-4
lines changed

.github/workflows/license_headers_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
-ignore '.github/*.yml' \
2929
-ignore '.github/workflows/*.yaml' \
3030
-ignore '.github/*.yaml' \
31-
-ignore 'migrations/*.sql' \
31+
-ignore 'crates/migrations/*.sql' \
3232
.

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install sqlx
5454
run: cargo install sqlx-cli --no-default-features --features postgres
5555
- name: Run the test sqlx migrations
56-
run: cargo sqlx migrate run
56+
run: cargo sqlx migrate run --source crates/migrations
5757
- name: Check that the sqlx prepared query metadata is up-to-date
5858
run: cargo sqlx prepare --workspace --check -- --all-targets --all-features
5959

@@ -124,7 +124,7 @@ jobs:
124124
- name: Install sqlx
125125
run: cargo install sqlx-cli --no-default-features --features postgres
126126
- name: Run the test sqlx migrations
127-
run: cargo sqlx migrate run
127+
run: cargo sqlx migrate run --source crates/migrations
128128
- name: Run tests and generate coverage report
129129
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
130130
- name: Upload coverage to Coveralls
@@ -172,6 +172,6 @@ jobs:
172172
- name: Install sqlx
173173
run: cargo install sqlx-cli --no-default-features --features postgres
174174
- name: Run the test sqlx migrations
175-
run: cargo sqlx migrate run
175+
run: cargo sqlx migrate run --source crates/migrations
176176
- name: Test documentation code snippets
177177
run: cargo test --doc --all-features --workspace

0 commit comments

Comments
 (0)