diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 15:26:48 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 15:26:48 -0400 |
| commit | 9b827108727a81a3b1f0cf56432389c238394740 (patch) | |
| tree | 1004cf35679949f899c26a38cc5ef68b2996f91e /scripts/test-mysql.sh | |
| parent | Fix XDG_RUNTIME_DIR (diff) | |
| download | cli-9b827108727a81a3b1f0cf56432389c238394740.zip | |
Use docker compose instead of docker-compose
Diffstat (limited to 'scripts/test-mysql.sh')
| -rwxr-xr-x | scripts/test-mysql.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-mysql.sh b/scripts/test-mysql.sh index 792c2f9..e0131b7 100755 --- a/scripts/test-mysql.sh +++ b/scripts/test-mysql.sh @@ -2,7 +2,7 @@ set -e echo "Running MySQL tests..." -env $(cat .env.mysql | xargs) docker-compose -f docker-compose.mysql.yml up -d +env $(cat .env.mysql | xargs) docker compose -f docker-compose.mysql.yml up -d echo "Waiting for MySQL to be ready..." sleep 15 @@ -14,5 +14,5 @@ echo "MySQL is ready." env $(cat .env.mysql | xargs) go test -p 1 -tags "mysql" -covermode=count -coverprofile=coverage-mysql.out ./... -docker-compose -f docker-compose.mysql.yml down +docker compose -f docker-compose.mysql.yml down echo "MySQL tests completed." |