Skip to content

feat(limit_by): Add Limit By clause support #21

feat(limit_by): Add Limit By clause support

feat(limit_by): Add Limit By clause support #21

Workflow file for this run

name: Testing
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests_single:
name: Testing single server
runs-on: ubuntu-latest
env:
CLICKHOUSE_PORT: 18123
CLICKHOUSE_DATABASE: default
strategy:
fail-fast: true
max-parallel: 1
matrix:
version:
- ruby: 2.7
rails: 7.1.3
- ruby: 3.0
rails: 7.1.3
- ruby: 3.2
rails: 7.1.3
- ruby: 3.2
rails: 7.2.0
clickhouse: [ '22.1', '24.6' ]
steps:
- uses: actions/checkout@v4
- name: Start ClickHouse ${{ matrix.clickhouse }}
uses: isbang/[email protected]
env:
CLICKHOUSE_VERSION: ${{ matrix.clickhouse }}
with:
compose-file: '.docker/docker-compose.yml'
down-flags: '--volumes'
- run: echo 'gem "activerecord", "~> ${{ matrix.version.rails }}"' >> Gemfile
- name: Set up Ruby ${{ matrix.version.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version.ruby }}
bundler-cache: true
- run: bundle exec rspec spec/single
tests_cluster:
name: Testing cluster server
runs-on: ubuntu-latest
env:
CLICKHOUSE_PORT: 28123
CLICKHOUSE_DATABASE: default
CLICKHOUSE_CLUSTER: test_cluster
strategy:
fail-fast: true
max-parallel: 1
matrix:
version:
- ruby: 2.7
rails: 7.1.3
- ruby: 3.0
rails: 7.1.3
- ruby: 3.2
rails: 7.1.3
- ruby: 3.2
rails: 7.2.0
clickhouse: [ '22.1', '24.6' ]
steps:
- uses: actions/checkout@v4
- name: Start ClickHouse Cluster ${{ matrix.clickhouse }}
uses: isbang/[email protected]
env:
CLICKHOUSE_VERSION: ${{ matrix.clickhouse }}
with:
compose-file: '.docker/docker-compose.cluster.yml'
down-flags: '--volumes'
- run: echo 'gem "activerecord", "~> ${{ matrix.version.rails }}"' >> Gemfile
- name: Set up Ruby ${{ matrix.version.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version.ruby }}
bundler-cache: true
- run: bundle exec rspec spec/cluster