-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (35 loc) · 949 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (35 loc) · 949 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
name: CI
on: [push, pull_request]
jobs:
specs:
name: Run specs with Ruby ${{matrix.ruby}}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental || false }}
strategy:
fail-fast: false
matrix:
include:
- ruby: "3.2"
bundler: 2.6.3
- ruby: "3.3"
bundler: 2.6.3
- ruby: "3.4"
bundler: 2.6.3
- ruby: "4.0"
bundler: 2.6.3
- ruby: "4.0.1"
bundler: 2.6.3
- ruby: head
bundler: 2.6.3
experimental: true
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler: ${{matrix.bundler}}
bundler-cache: true
- name: Install gems
run: bundle _${{matrix.bundler}}_ install
- name: Run specs
run: bundle _${{matrix.bundler}}_ exec rspec