Skip to content

Commit 769a7a3

Browse files
committed
Try running tests on valkey.
1 parent 15a5e48 commit 769a7a3

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/test-valkey.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
permissions:
6+
contents: read
7+
8+
env:
9+
CONSOLE_OUTPUT: XTerm
10+
11+
jobs:
12+
test:
13+
name: ${{matrix.ruby}} on ${{matrix.os}} (Valkey)
14+
runs-on: ${{matrix.os}}-latest
15+
16+
services:
17+
valkey:
18+
image: valkey/valkey
19+
options: >-
20+
--health-cmd "valkey-cli ping"
21+
--health-interval 10s
22+
--health-timeout 5s
23+
--health-retries 5
24+
ports:
25+
- 6379:6379
26+
27+
strategy:
28+
matrix:
29+
os:
30+
- ubuntu
31+
32+
ruby:
33+
- "3.1"
34+
- "3.2"
35+
- "3.3"
36+
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: ruby/setup-ruby@v1
40+
with:
41+
ruby-version: ${{matrix.ruby}}
42+
bundler-cache: true
43+
44+
- name: Run tests
45+
timeout-minutes: 10
46+
run: bundle exec bake test

0 commit comments

Comments
 (0)