Skip to content

CHEF-17473-Added Github action pipeline to verify build and publish package #232

CHEF-17473-Added Github action pipeline to verify build and publish package

CHEF-17473-Added Github action pipeline to verify build and publish package #232

Workflow file for this run

---
name: unit
'on':
pull_request:
push:
branches:
- main
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [windows-2019, ubuntu-latest]
ruby: ['2.7', '3.0', '3.1']
runs-on: ${{ matrix.os }}
env:
BUNDLE_WITHOUT: profiling debug docs
name: Unit test on ${{ matrix.os }} with Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec