Skip to content

Commit e755c09

Browse files
committed
more tests
1 parent 89178c1 commit e755c09

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,9 @@ jobs:
4242
# https://www.cockroachlabs.com/docs/releases/release-support-policy
4343
crdb: [v24.3]
4444
ruby: ["3.4"]
45-
conf:
46-
[
47-
"--max-sql-memory=25% --cache=25%",
48-
"--max-sql-memory=25% --cache=25% --store=type=mem,size=20%",
49-
"--max-sql-memory=50% --cache=50% --store=type=mem,size=50%",
50-
"--max-sql-memory=90% --cache=90% --store=type=mem,size=90%",
51-
"--max-sql-memory=25% --cache=25% --store=type=mem,size=70%",
52-
]
53-
name: "${{ matrix.conf }}"
45+
sql_cache: [15, 25, 35]
46+
store: [20, 40, 60, 80]
47+
name: "${{ matrix.sql_cache }}% SQL&Cache, ${{ matrix.store }}% Store"
5448
steps:
5549
- name: Set Up Actions
5650
uses: actions/checkout@v4
@@ -84,7 +78,7 @@ jobs:
8478
# Start a CockroachDB server and wait for it to become ready.
8579
rm -f "$urlfile"
8680
# Start CockroachDB.
87-
cockroach start-single-node --insecure ${{ matrix.conf }} --host=localhost --spatial-libs=./cockroach-$full_version.linux-amd64/lib --listening-url-file="$urlfile" >/dev/null 2>&1 &
81+
cockroach start-single-node --insecure --max-sql-memory=${{ matrix.sql_cache }}% --cache=${{ matrix.sql_cache }}% --store=type=mem,size=${{ matrix.store }}% --host=localhost --spatial-libs=./cockroach-$full_version.linux-amd64/lib --listening-url-file="$urlfile" >/dev/null 2>&1 &
8882
# Ensure CockroachDB is stopped on script exit.
8983
# Wait until CockroachDB has started.
9084
for i in {0..3}; do

0 commit comments

Comments
 (0)