Sha256: 14d4f76c9793b70f6ef6c006a576649cb32e16588965265522f875c627504dc6

Contents?: true

Size: 864 Bytes

Versions: 1

Compression:

Stored size: 864 Bytes

Contents

---
name: Unit Test

'on':
  pull_request:
  push:
    branches:
      - main

jobs:
  chefstyle:
    env:
      BUNDLE_WITHOUT: integration
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: ['3.1']
    name: Chefstyle on Ruby ${{ matrix.ruby }}
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - uses: r7kamura/rubocop-problem-matchers-action@v1
      - run: bundle exec chefstyle

  test:
    name: Unit Test
    runs-on: ubuntu-latest
    needs: chefstyle
    strategy:
      matrix:
        ruby: ['2.7', '3.0', '3.1']
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef-ruby-lvm-attrib-0.3.12 .github/workflows/ci.yml