-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (34 loc) · 899 Bytes
/
ci-macos.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
name: CI macos
on:
push:
pull_request:
jobs:
rspec:
name: Unit tests
runs-on: macos-13
strategy:
matrix:
include:
- { ruby_version: 2.5 }
- { ruby_version: 2.7 }
- { ruby_version: 3.0 }
- { ruby_version: 3.1 }
- { ruby_version: 3.2 }
- { ruby_version: jruby }
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
with:
bundler: 2
ruby-version: ${{ matrix.ruby_version }}
- name: Run specs
run: |
bundle install --jobs 4 --retry 3 --no-cache
bundle exec rspec
- uses: coverallsapp/github-action@v2
env:
COVERALLS_SERVICE_NUMBER: ${{ github.sha }}
with:
flag-name: ruby-${{ join(matrix.*, '-') }}
parallel: true