- Notifications
You must be signed in to change notification settings - Fork2.5k
Add oci? helper#12250
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
--- | |
name:func_spec | |
"on": | |
pull_request: | |
push: | |
branches: | |
-main | |
concurrency: | |
group:func-spec-${{ github.ref }} | |
cancel-in-progress:true | |
jobs: | |
choco: | |
strategy: | |
fail-fast:false | |
matrix: | |
os:[windows-2019, windows-2022] | |
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' | |
ruby:['3.1'] | |
runs-on:${{ matrix.os }} | |
steps: | |
-uses:actions/checkout@v4 | |
-uses:ruby/setup-ruby@v1 | |
with: | |
ruby-version:${{ matrix.ruby }} | |
bundler-cache:false | |
-run:| | |
bundle install | |
bundle exec rspec spec/functional/resource/chocolatey_package_spec.rb | |
userdefaults: | |
strategy: | |
fail-fast:false | |
matrix: | |
os:[macos-13, macos-14, macos-15, macos-latest] | |
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' | |
ruby:['3.1'] | |
runs-on:${{ matrix.os }} | |
steps: | |
-uses:actions/checkout@v4 | |
-uses:ruby/setup-ruby@v1 | |
with: | |
ruby-version:${{ matrix.ruby }} | |
bundler-cache:false | |
-run:bundle install | |
-run:sudo bundle exec rspec spec/functional/resource/macos_userdefaults_spec.rb |