aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test-postgresql.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test-postgresql.sh')
-rwxr-xr-xscripts/test-postgresql.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-postgresql.sh b/scripts/test-postgresql.sh
index 38decae..4ffbd71 100755
--- a/scripts/test-postgresql.sh
+++ b/scripts/test-postgresql.sh
@@ -2,7 +2,7 @@
set -e
echo "Running PostgreSQL tests..."
-env $(cat .env.postgresql | xargs) docker-compose -f docker-compose.postgresql.yml up -d
+env $(cat .env.postgresql | xargs) docker compose -f docker-compose.postgresql.yml up -d
echo "Waiting for PostgreSQL to be ready..."
sleep 10
@@ -14,5 +14,5 @@ echo "PostgreSQL is ready."
env $(cat .env.postgresql | xargs) go test -p 1 -tags "postgresql" -covermode=count -coverprofile=coverage-postgresql.out ./...
-docker-compose -f docker-compose.postgresql.yml down
+docker compose -f docker-compose.postgresql.yml down
echo "PostgreSQL tests completed."