Skip to content

Commit

Permalink
chore: move migrations
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio committed Nov 5, 2024
1 parent 5a71c1c commit 44e00f1
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/license_headers_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
-ignore '.github/*.yml' \
-ignore '.github/workflows/*.yaml' \
-ignore '.github/*.yaml' \
-ignore 'migrations/*.sql' \
-ignore 'crates/migrations/*.sql' \
.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install sqlx
run: cargo install sqlx-cli --no-default-features --features postgres
- name: Run the test sqlx migrations
run: cargo sqlx migrate run
run: cargo sqlx migrate run --source crates/migrations
- name: Check that the sqlx prepared query metadata is up-to-date
run: cargo sqlx prepare --workspace --check -- --all-targets --all-features

Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Install sqlx
run: cargo install sqlx-cli --no-default-features --features postgres
- name: Run the test sqlx migrations
run: cargo sqlx migrate run
run: cargo sqlx migrate run --source crates/migrations
- name: Run tests and generate coverage report
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Coveralls
Expand Down Expand Up @@ -172,6 +172,6 @@ jobs:
- name: Install sqlx
run: cargo install sqlx-cli --no-default-features --features postgres
- name: Run the test sqlx migrations
run: cargo sqlx migrate run
run: cargo sqlx migrate run --source crates/migrations
- name: Test documentation code snippets
run: cargo test --doc --all-features --workspace
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 44e00f1

Please sign in to comment.