Skip to content

Commit 18f38ce

Browse files
committed
ci: Fix docker compose command syntax (use v2)
1 parent 110c2cf commit 18f38ce

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,20 @@ jobs:
3030
echo "DB_PASSWORD=your_secure_password" >> .env
3131
echo "DB_NAME=postgres" >> .env
3232
echo "DB_PORT=5433" >> .env
33-
echo "DB_HOST=localhost" >> .env
33+
echo "DB_HOST=127.0.0.1" >> .env
34+
echo "POSTGRES_USER=postgres" >> .env
35+
echo "POSTGRES_PASSWORD=your_secure_password" >> .env
36+
echo "POSTGRES_DB=postgres" >> .env
3437
3538
- name: Start Services
3639
run: docker compose up -d --build
3740

3841
- name: Wait for Services
3942
run: sleep 30
4043

44+
- name: Check Running Containers
45+
run: docker ps -a
46+
4147
- name: Run Playwright tests
4248
run: npx playwright test
4349

0 commit comments

Comments
 (0)