-
-
Notifications
You must be signed in to change notification settings - Fork 2
67 lines (60 loc) · 1.43 KB
/
Copy pathtests.yaml
File metadata and controls
67 lines (60 loc) · 1.43 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: ${{ matrix.ruby }}-${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby:
# Due to https://github.com/actions/runner/issues/849, 'x.0' versions have to use quotes
- '2.0'
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- '3.0'
- 3.1
- 3.2
- jruby
- truffleruby
os:
- macos
- ubuntu
- windows
exclude:
- ruby: 2.2 # Fails on setup
os: ubuntu
- ruby: 2.7 # Fails only on macos
os: macos
- ruby: 3.0 # Fails only on macos
os: macos
- ruby: 3.1 # Fails only on macos
os: macos
- ruby: 3.2 # Fails only on macos
os: macos
- ruby: jruby
os: macos
- ruby: jruby
os: windows
- ruby: truffleruby
os: macos
- ruby: truffleruby
os: windows
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- name: Setup ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle install
- run: bundle exec rake test