Skip to content

Commit

Permalink
fix(ci): wait for container
Browse files Browse the repository at this point in the history
  • Loading branch information
duncdrum committed Feb 26, 2024
1 parent 21ddcb8 commit 0a02236
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ jobs:
docker run -dit -p 8080:8080 -v ${{ github.workspace }}/build:/exist/autodeploy \
--name exist --rm \
duncdrum/existdb:${{ matrix.exist-version }}
sleep 15m
- name: wait for install to finish
timeout-minutes: 60
run: |
while ! docker logs exist | grep -q "Server has started"; \
do sleep 2s; \
done
# Test
- name: Run test
Expand Down

0 comments on commit 0a02236

Please sign in to comment.