summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorrishichawda <rishichawda@users.noreply.github.com>2021-10-06 23:11:37 +0530
committerrishichawda <rishichawda@users.noreply.github.com>2021-10-06 23:11:37 +0530
commit842defaf8ec37e4b004865d171459686c46f359e (patch)
treea0ee75ff940911f61a7322194fae91b2aeef5929 /.github
parent7c783e3c14885f68aa0d540a6011273046c1f678 (diff)
downloadchef-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.yml15
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