Skip to content

Commit 2eceabe

Browse files
committed
add macos to CI
1 parent 68dc70c commit 2eceabe

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,28 @@ name: Test
33
on: [push, pull_request]
44

55
jobs:
6+
67
build:
7-
name: on ruby ${{matrix.ruby}}
8-
runs-on: ubuntu-latest
8+
name: on ${{ matrix.os }} ruby ${{ matrix.ruby }}
9+
runs-on: ${{ matrix.os }}
910

1011
strategy:
1112
fail-fast: false
1213
matrix:
14+
os: [ubuntu-latest, macos-latest]
1315
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, 3.3, 3.4, head]
1416

1517
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v2
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
1820

19-
- name: Set up Ruby
20-
uses: ruby/setup-ruby@v1
21-
with:
22-
ruby-version: ${{matrix.ruby}}
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{ matrix.ruby }}
2325

24-
- name: Install dependencies
25-
run: bundle install --jobs 4 --retry 3
26+
- name: Install dependencies
27+
run: bundle install --jobs 4 --retry 3
2628

27-
- name: Specs
28-
run: bundle exec rspec
29+
- name: Specs
30+
run: bundle exec rspec

0 commit comments

Comments
 (0)