-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 938 Bytes
/
ci.yml
File metadata and controls
32 lines (31 loc) · 938 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
on: [ push, pull_request ]
jobs:
test:
name: >-
Test (${{ matrix.ruby-version }} / ${{ matrix.os }} / TEST_SYMLINK: ${{ matrix.TEST_SYMLINK }})
strategy:
fail-fast: false
matrix:
ruby-version: [ 3.1, '3.0', 2.7, 2.6, 2.5, head ]
os: [ ubuntu-latest, macos-latest ]
TEST_SYMLINK: [ yes, no ]
runs-on: ${{ matrix.os }}
env:
TEST_SYMLINK: ${{ matrix.TEST_SYMLINK }}
continue-on-error: ${{ matrix.ruby-version == 'head' }}
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run before_script
run: |
bundle exec rake before_script
- name: Run the test suite
run: |
bundle exec rake
- name: Run after_script
run: |
bundle exec rake after_script