Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
# https://www.cockroachlabs.com/docs/releases/release-support-policy
crdb: [v23.2, v24.1, v24.3]
crdb: [v23.2, v24.1, v24.3, v25.1]
ruby: ["3.4"]
name: Test (crdb=${{ matrix.crdb }} ruby=${{ matrix.ruby }})
steps:
Expand All @@ -53,6 +53,8 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Show Rails version
run: bundle info rails
- name: Install and Start Cockroachdb
run: |
# Download CockroachDB
Expand Down
20 changes: 9 additions & 11 deletions test/config.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
default_connection: cockroachdb
connections:
cockroachdb:
arunit:
arunit: &arunit
min_messages: warning
host: 127.0.0.1
port: 26257
user: root
disable_cockroachdb_telemetry: true
# `autocommit_before_ddl` changed to default true in CockroachDB v25.1.
# This does not work with active record's test suite.
#
# This options keyword is referenced here in libpq:
# https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-OPTIONS
options: "-c autocommit_before_ddl=false"
arunit_without_prepared_statements:
min_messages: warning
<<: *arunit
prepared_statements: false
host: 127.0.0.1
port: 26257
user: root
disable_cockroachdb_telemetry: true
arunit2:
min_messages: warning
host: 127.0.0.1
port: 26257
user: root
disable_cockroachdb_telemetry: true
<<: *arunit
Loading