Skip to content

Merge pull request #1808 from chef/jfm/chef17_backport_ohai_pr1758 #390

Merge pull request #1808 from chef/jfm/chef17_backport_ohai_pr1758

Merge pull request #1808 from chef/jfm/chef17_backport_ohai_pr1758 #390

Workflow file for this run

---
name: unit
'on':
pull_request:
push:
branches:
- main
- 17-stable
- 16-stable
jobs:
test:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
ruby: ['2.7', '3.0']
name: Unit test on ${{ matrix.os }} with Ruby ${{ matrix.ruby }}
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