Skip to content

Commit

Permalink
Check Ch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Botella committed Sep 18, 2024
1 parent f422b54 commit b0dcfc1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Wait for ClickHouse to be ready
run: |
for i in {1..30}; do
if curl 'http://localhost:8123/' --data-binary "SELECT 1" 2>/dev/null; then
echo "ClickHouse is up!"
exit 0
fi
echo "Waiting for ClickHouse..."
sleep 1
done
echo "Timed out waiting for ClickHouse"
exit 1
- name: Build an image with the source code
run: docker-compose -f docker-compose-extra.yml build --build-arg CHECK_CODE=${{ matrix.check_code }} --build-arg PG_VERSION=${{ matrix.pg }} tests

Expand Down

0 comments on commit b0dcfc1

Please sign in to comment.