From 1697360b6bae1ef6aa5627bac7884aefc9fc5b5d Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Mon, 23 Nov 2020 21:39:50 +0900 Subject: [PATCH] Add MacOS to CI --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4df9d1c..dd6d3d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,15 +2,17 @@ name: test on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + name: ${{ matrix.os }} Ruby ${{ matrix.ruby }} + runs-on: ${{ matrix.os }}-latest strategy: matrix: + os: ['ubuntu', 'macos'] ruby: [ '2.5', '2.6', '2.7' ] - name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} + - run: gem install bundler - run: bundle install - run: bundle exec rake test \ No newline at end of file