Skip to content

Commit

Permalink
Try running tests on valkey.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 27, 2024
1 parent 15a5e48 commit 769a7a3
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/test-valkey.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Test

on: [push, pull_request]

permissions:
contents: read

env:
CONSOLE_OUTPUT: XTerm

jobs:
test:
name: ${{matrix.ruby}} on ${{matrix.os}} (Valkey)
runs-on: ${{matrix.os}}-latest

services:
valkey:
image: valkey/valkey
options: >-
--health-cmd "valkey-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379

strategy:
matrix:
os:
- ubuntu

ruby:
- "3.1"
- "3.2"
- "3.3"

steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true

- name: Run tests
timeout-minutes: 10
run: bundle exec bake test

0 comments on commit 769a7a3

Please sign in to comment.