-
Notifications
You must be signed in to change notification settings - Fork 28
37 lines (37 loc) · 908 Bytes
/
test.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
name: Test
on:
- push
- pull_request
jobs:
run:
strategy:
fail-fast: false
matrix:
ruby-version:
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- head
- truffleruby-head
runs-on:
- ubuntu-latest
- macos-latest
- windows-latest
exclude:
# macos-latest doesn't provide Ruby 2.5
- { ruby-version: "2.5", runs-on: macos-latest }
- { ruby-version: truffleruby-head, runs-on: windows-latest }
name: ${{ matrix.ruby-version}} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Test
run: |
bundle exec rake