Workflow changes
All checks were successful
Rust Build / Check (pull_request) Successful in 44s
Rust Build / Test Suite (pull_request) Successful in 53s
Rust Build / Rustfmt (pull_request) Successful in 34s
Rust Build / Clippy (pull_request) Successful in 56s
Rust Build / build (pull_request) Successful in 1m14s
All checks were successful
Rust Build / Check (pull_request) Successful in 44s
Rust Build / Test Suite (pull_request) Successful in 53s
Rust Build / Rustfmt (pull_request) Successful in 34s
Rust Build / Clippy (pull_request) Successful in 56s
Rust Build / build (pull_request) Successful in 1m14s
This commit is contained in:
@@ -76,17 +76,8 @@ jobs:
|
||||
SSH_AUTH_SOCK: ${{ env.SSH_AUTH_SOCK }}
|
||||
run: |
|
||||
echo "Running database migrations..."
|
||||
# ===> IMPORTANT: Replace placeholder below with your actual migration command <===
|
||||
# Example: Install and run sqlx-cli
|
||||
cargo install sqlx-cli --no-default-features --features native-tls,postgres
|
||||
sqlx database setup --database-url $TEST_DATABASE_URL
|
||||
|
||||
# Example: Install and run diesel_cli
|
||||
# cargo install diesel_cli --no-default-features --features postgres
|
||||
# diesel migration run --database-url $TEST_DATABASE_URL
|
||||
|
||||
# echo "[Placeholder] Your migration command goes here."
|
||||
# ===> End of Placeholder <===
|
||||
- name: Run tests
|
||||
env:
|
||||
# Define TEST_DATABASE_URL for tests to use
|
||||
@@ -159,4 +150,3 @@ jobs:
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add -v ~/.ssh/icarus_models_deploy_key
|
||||
cargo build --release
|
||||
|
||||
|
Reference in New Issue
Block a user