From 7978246c6632d77860daa8ac8e86bfc247540c5f Mon Sep 17 00:00:00 2001 From: Johanna Larsson Date: Tue, 22 Sep 2026 19:09:49 +0100 Subject: [PATCH] Remove redundant cargo test build and set SQLX_OFFLINE=true The pg tests were missing SQLX_OFFLINE --- justfile | 2 +- scripts/run-tests.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/justfile b/justfile index 08bc513..970e036 100644 --- a/justfile +++ b/justfile @@ -138,7 +138,7 @@ test-full *args: eval "$(tranquil-dev-services env)" && SQLX_OFFLINE=true cargo nextest run --workspace --exclude tranquil-store --features tranquil-pds/s3 {{args}} test-pg *args: - ./scripts/run-tests.sh {{args}} + SQLX_OFFLINE=true ./scripts/run-tests.sh {{args}} services-up: tranquil-dev-services up diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 3e133c6..37720e9 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -13,9 +13,6 @@ source "${TMPDIR:-/tmp}/tranquil_pds_test_infra.env" echo "" ulimit -n 65536 -echo "Building test binaries..." -cargo test --no-run 2>&1 | tail -1 - echo "Running tests..." echo "" cargo nextest run --workspace --exclude tranquil-store "$@"