-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 840 Bytes
/
ci.yml
File metadata and controls
41 lines (34 loc) · 840 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
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
services:
toxiproxy:
image: shopify/toxiproxy
ports:
- 8080:8080 # port for the http_host "toxic"
- 8474:8474 # port for controlling toxiproxy
strategy:
fail-fast: false
matrix:
include:
- { ruby: 3.1 }
- { ruby: 3.2 }
- { ruby: 3.3 }
- { ruby: head, allow-failure: true }
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
continue-on-error: ${{ matrix.allow-failure || false }}
env:
RSPEC_FORMATTER: progress