-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (51 loc) · 1.18 KB
/
tests.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
name: Tests
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
jobs:
RSpec:
runs-on: ubuntu-latest
##
# Ruby 3.3
# status: preview
# release date:
# normal maintenance until: TBD
# EOL: TBD
# Ruby 3.2
# status: normal maintenance
# release date: 2022-12-25
# normal maintenance until: TBD
# EOL: 2026-03-31 (expected)
# Ruby 3.1
# status: normal maintenance
# release date: 2021-12-25
# normal maintenance until: TBD
# EOL: 2025-03-31 (expected)
# Ruby 3.0
# status: security maintenance
# release date: 2020-12-25
# normal maintenance until: 2023-04-01
# EOL: 2024-03-31 (expected)
strategy:
matrix:
ruby:
- 3.3.0-preview1
- 3.2
- 3.1
- 3.0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and gems
uses: ruby/setup-ruby@bd03e04863f52d169e18a2b190e8fa6b84938215
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
bundle config path vendor/bundle
bundle config --local without 'development'
bundle install --jobs 4 --retry 3
- name: Run the default task
run: bundle exec rspec