-
Notifications
You must be signed in to change notification settings - Fork 23
33 lines (33 loc) · 1.11 KB
/
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
---
name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
entry:
- { ruby: '2.7', allowed-failure: false }
- { ruby: '3.0', allowed-failure: false }
- { ruby: '3.1', allowed-failure: false }
- { ruby: '3.2', allowed-failure: false }
- { ruby: 'ruby-head', allowed-failure: true }
- { ruby: 'truffleruby-head', allowed-failure: true }
- { ruby: 'jruby-head', allowed-failure: true }
name: test (${{ matrix.entry.ruby }})
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.entry.ruby }}
- run: bundle install --jobs=3 --retry=3 --path=vendor/bundle
- run: bundle exec rake spec
continue-on-error: ${{ matrix.entry.allowed-failure }}
- name: Specs for when the i18n gem is not available
run: |
cd spec_i18n
bundle install --jobs=3 --retry=3
pwd
bundle exec rake spec
continue-on-error: ${{ matrix.entry.allowed-failure }}