-
Notifications
You must be signed in to change notification settings - Fork 7
44 lines (39 loc) · 1 KB
/
test.yml
File metadata and controls
44 lines (39 loc) · 1 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
name: Run tests
on:
push:
pull_request:
schedule:
- cron: '4 1 * * SUN'
permissions: {}
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version:
[
3.2,
3.3,
3.4,
'4.0',
jruby,
]
exclude:
- os: windows-latest
version: jruby
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
persist-credentials: false
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
- uses: ruby/setup-ruby@4c56a21280b36d862b5fc31348f463d60bdc55d5 # 1.301.0
with:
ruby-version: ${{ matrix.version }}
- run: bundle install
env:
BUNDLE_FROZEN: true
- run: bundle exec rake -t spec