From f30ed139d8f72f3f114861c7a32003f03adcb96d Mon Sep 17 00:00:00 2001 From: "Oleg V. Kozlyuk" Date: Tue, 18 Feb 2025 21:40:09 +0100 Subject: [PATCH] Try using wsl to start clickhouse --- .github/workflows/tests.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 60b427bd..78c9c0c3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -97,22 +97,20 @@ jobs: CLICKHOUSE_VERSION: latest windows: - name: Build + name: Windows Tests runs-on: windows-latest - services: - clickhouse: - image: clickhouse/clickhouse-server:latest - ports: - - 8123:8123 - env: - CLICKHOUSE_DB: test - CLICKHOUSE_USER: test - CLICKHOUSE_PASSWORD: test1234 - CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: '1' steps: + - uses: Vampire/setup-wsl@v4 + - name: Checkout uses: actions/checkout@v4 + - shell: wsl-bash + run: curl https://clickhouse.com/ | sh + + - shell: wsl-bash + run: clickhouse-server --config-file=/etc/clickhouse-server/config.xml --daemon + - uses: actions/cache@v4 name: Cache NuGet with: