-
Notifications
You must be signed in to change notification settings - Fork 11
51 lines (50 loc) · 1.09 KB
/
test.yml
File metadata and controls
51 lines (50 loc) · 1.09 KB
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
42
43
44
45
46
47
48
49
50
51
---
name: Tests
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
# Legacy - If a version breaks, just drop it, don't fix it.
- ruby: 2.5.7
gemfile: Gemfile
- ruby: 2.6.10
gemfile: Gemfile
- ruby: 2.7.4
gemfile: Gemfile
- ruby: 3.0.2
gemfile: Gemfile
- ruby: 3.1.2
gemfile: Gemfile
# Officially supported
- ruby: 3.2.1
gemfile: Gemfile
- ruby: 3.3.6
gemfile: Gemfile
- ruby: 3.4.1
gemfile: Gemfile
- ruby: 4.0.1
gemfile: Gemfile
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
gem install bundler:2.3.27
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec