-
Notifications
You must be signed in to change notification settings - Fork 9
28 lines (28 loc) · 753 Bytes
/
Copy pathruby.yml
File metadata and controls
28 lines (28 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Specs
on: [push]
jobs:
specs:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ruby-version: ['3.2', '3.3', '3.4']
services:
redis:
image: redis
ports: ['6379:6379']
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
memcached:
image: memcached
ports: ['11211:11211']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run specs
run: |
openssl version
bundle exec rspec