mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
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:
6
.github/workflows/test-updates.yml
vendored
6
.github/workflows/test-updates.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user