-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (38 loc) · 986 Bytes
/
linux.yml
File metadata and controls
38 lines (38 loc) · 986 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
35
36
37
38
name: Testing on Ubuntu
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 0 1 * *'
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.7
build:
needs: ruby-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
- ruby: head
os:
- ubuntu-latest
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
- name: unit testing
env:
CI: true
run: |
bundle install --jobs 4 --retry 3
bundle exec rake test