Use testcontainers for Rust PostgreSQL tests
Deploy / deploy (push) Successful in 1m45s
CI / Rust Checks (push) Failing after 5m38s
CI / UI Checks (push) Has been skipped
CI / Frontend E2E (push) Has been skipped
CI / Deployment Manifests (push) Has been skipped

This commit is contained in:
github-ops
2026-06-21 03:17:06 +00:00
parent ac45d5dc2d
commit d01c8e1f1a
15 changed files with 1069 additions and 129 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ clippy:
cargo clippy --workspace --all-targets --all-features -- -D warnings
test:
TEST_DATABASE_URL="${TEST_DATABASE_URL:-postgres://crank:crank@127.0.0.1:15432/crank}" cargo test --workspace --all-targets
cargo test --workspace --all-targets
sqlx-prepare database_url:
DATABASE_URL={{database_url}} cargo sqlx prepare --workspace -- --all-targets