-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (39 loc) · 1.11 KB
/
tests.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
38
39
name: Test
on:
push:
branches: development
pull_request:
jobs:
unit-tests-matrix:
name: Unit tests matrix
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.0", "2.7", "2.6", "head", "jruby-9.3", "jruby-head", "truffleruby-20", "truffleruby-21", "truffleruby-22", "truffleruby-head"]
os: [ubuntu-latest, windows-latest]
exclude:
- os: windows-latest
ruby: truffleruby-20
- os: windows-latest
ruby: truffleruby-21
- os: windows-latest
ruby: truffleruby-22
- os: windows-latest
ruby: truffleruby-head
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.ignore_failure || false }}
env:
SKIP_MUTANT_LICENSE: 1
BUNDLE_WITHOUT: development
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: "Debug: environment"
run: |
ruby --version
bundler --version
- name: Run tests
run: bundle exec rake test