Skip to content

Commit

Permalink
Test workflow updates (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
genzgd authored Oct 5, 2024
1 parent 5b13e6b commit 85f5b09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clickhouse_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: pytest tests/integration_tests

- name: Run ClickHouse Container (LATEST)
run: CLICKHOUSE_VERSION=latest docker compose up -d clickhouse
run: CLICKHOUSE_CONNECT_TEST_CH_VERSION=latest docker compose up -d clickhouse
- name: Run LATEST tests
run: pytest tests/integration_tests
- name: remove latest container
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
- '3.12'
clickhouse-version:
- '24.3'
- '24.6'
- '24.7'
- '24.8'
- '24.9'
- latest

name: Local Tests Py=${{ matrix.python-version }} CH=${{ matrix.clickhouse-version }}
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Start ClickHouse (version - ${{ matrix.clickhouse-version }}) in Docker
uses: hoverkraft-tech/compose-action@v2.0.0
env:
CLICKHOUSE_VERSION: ${{ matrix.clickhouse-version }}
CLICKHOUSE_CONNECT_TEST_CH_VERSION: ${{ matrix.clickhouse-version }}
with:
compose-file: 'docker-compose.yml'
down-flags: '--volumes'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

build_macos_wheels:
name: Build wheels on macos
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Build wheels
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
clickhouse:
image: 'clickhouse/clickhouse-server:${CLICKHOUSE_VERSION-24.8-alpine}'
image: 'clickhouse/clickhouse-server:${CLICKHOUSE_CONNECT_TEST_CH_VERSION-24.8-alpine}'
container_name: 'clickhouse-connect-clickhouse-server'
ports:
- '8123:8123'
Expand Down

0 comments on commit 85f5b09

Please sign in to comment.