Commit 5b629bfa authored by Tim Smith's avatar Tim Smith
Browse files

Add macos unit testing with GitHub actions



Free!
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 4a4839ff
---
name: unit_specs
"on":
pull_request:
push:
branches:
- master
jobs:
unit:
strategy:
fail-fast: false
matrix:
os: [macos-10.15, macos-11.0]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: ['3.0']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec:unit
- run: bundle exec rake component_specs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment