Fix docker-compose command not found in integration tests

Replace deprecated docker-compose with docker compose (Docker CLI plugin)
on modern Ubuntu runners.
This commit is contained in:
rcourtman
2025-12-01 00:40:00 +00:00
parent 679a20dfa4
commit 0657fca003

View File

@@ -82,11 +82,11 @@ jobs:
MOCK_RATE_LIMIT: "false"
MOCK_STALE_RELEASE: "false"
run: |
docker-compose -f docker-compose.test.yml up -d
docker compose -f docker-compose.test.yml up -d
sleep 15 # Wait for services to be ready
npx playwright test tests/00-diagnostic.spec.ts --reporter=list,html
UPDATE_API_BASE_URL=http://localhost:7655 go test ../../tests/integration/api -run TestUpdateFlowIntegration -count=1
docker-compose -f docker-compose.test.yml down -v
docker compose -f docker-compose.test.yml down -v
- name: Upload test results
if: always()
@@ -109,7 +109,7 @@ jobs:
if: always()
working-directory: tests/integration
run: |
docker-compose -f docker-compose.test.yml down -v || true
docker compose -f docker-compose.test.yml down -v || true
docker system prune -f || true
- name: Comment PR with test results