feat: Clickhouse Storage Driver #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'clickhouse/**' | |
pull_request: | |
paths: | |
- 'clickhouse/**' | |
name: 'Tests Clickhouse' | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- 1.21.x | |
- 1.22.x | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Startup Clickhouse | |
run: | | |
docker run -d -p 9001:9000 --name clickhouse --ulimit nofile=262144:262144 clickhouse/clickhouse-server | |
sleep 30 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Run Test | |
run: cd ./clickhouse && go clean -testcache && go test ./... -v |