diff options
author | rishichawda <rishichawda@users.noreply.github.com> | 2021-10-06 23:11:37 +0530 |
---|---|---|
committer | rishichawda <rishichawda@users.noreply.github.com> | 2021-10-06 23:11:37 +0530 |
commit | 842defaf8ec37e4b004865d171459686c46f359e (patch) | |
tree | a0ee75ff940911f61a7322194fae91b2aeef5929 /.github | |
parent | 7c783e3c14885f68aa0d540a6011273046c1f678 (diff) | |
download | chef-842defaf8ec37e4b004865d171459686c46f359e.tar.gz |
add macos runner to github workflow
Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/func_spec.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/func_spec.yml b/.github/workflows/func_spec.yml index 70089b4bb1..27cee8a7f4 100644 --- a/.github/workflows/func_spec.yml +++ b/.github/workflows/func_spec.yml @@ -23,3 +23,18 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rspec spec/functional/resource/chocolatey_package_spec.rb + userdefaults: + strategy: + fail-fast: false + matrix: + os: [macos-10.15, macos-11] + # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' + ruby: [2.7, '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 rspec spec/functional/resource/macos_userdefaults_spec.rb |