-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (34 loc) · 825 Bytes
/
linux.yml
File metadata and controls
34 lines (34 loc) · 825 Bytes
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
name: Testing on Ubuntu
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby:
- 2.7
- "3.0"
- 3.1
- 3.2
- 3.3
- 3.4
os:
- ubuntu-latest
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
- name: unit testing
env:
CI: true
run: |
gem install bundler -v 2.4.22
gem install rake
bundle _2.4.22_ install --jobs 4 --retry 3
bundle exec rake test