Skip to content

Commit

Permalink
Try using wsl to start clickhouse
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkWanderer committed Feb 18, 2025
1 parent c6ae184 commit f30ed13
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f30ed13

Please sign in to comment.