Skip to content

Commit

Permalink
fix: update docker compose commmand (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
dati18 authored Aug 22, 2024
1 parent 36bf657 commit 52733d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mediawiki.verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v3.3.0
- name: build docker
run: docker-compose up -d
run: docker compose up -d
- name: Wait for server to accept connections
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 100
retry_wait_seconds: 5
warning_on_retry: false
command: docker-compose logs mysql | grep "ready for connections" | wc -l | grep 2
command: docker compose logs mysql | grep "ready for connections" | wc -l | grep 2

- run: curl -L -s -N "http://site1.localhost:8001/wiki/Main_Page" | grep -q "Main Page"
- run: curl -L -s -N "http://site1.localhost:8001/w/api.php" | grep -q "Main module"
Expand Down

0 comments on commit 52733d2

Please sign in to comment.