Skip to content

Commit 67033c3

Browse files
author
Кирилл Горелов
committed
ci: add ClickHouse service for integration tests
1 parent 15b2b07 commit 67033c3

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/python-ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
name: Python CI
2-
3-
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
8-
91
jobs:
102
test:
113
runs-on: ubuntu-latest
124

5+
services:
6+
clickhouse:
7+
image: clickhouse/clickhouse-server:latest
8+
ports:
9+
- 8123:8123
10+
options: >-
11+
--health-cmd "wget --spider -q http://localhost:8123 || exit 1"
12+
--health-interval 10s
13+
--health-timeout 5s
14+
--health-retries 3
15+
1316
steps:
1417
- uses: actions/checkout@v3
1518

0 commit comments

Comments
 (0)