Sha256: c67c6bf203810b596f6f794a3108dad66efe5701791eb07e415ddf98e0bd1583

Contents?: true

Size: 848 Bytes

Versions: 2

Compression:

Stored size: 848 Bytes

Contents

name: Test

on:
  - pull_request
  - push

env:
  BUNDLE_WITHOUT: release

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        include:
          - ruby: '2.4'
          - ruby: '2.5'
          - ruby: '2.6'
          - ruby: '2.7'
          - ruby: '3.0'
          - ruby: '3.1'
            coverage: 'yes'
    env:
      COVERAGE: ${{ matrix.coverage }}
    steps:
      - uses: actions/checkout@v2
      - name: Install Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: Run unit tests
        run: bundle exec rake spec
      - name: Test against Puppet component versions
        run: bundle exec rake puppet_versions:test
      - name: Test gem build
        run: bundle exec rake build

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-puppet-facts-2.0.5 .github/workflows/test.yml
rspec-puppet-facts-2.0.4 .github/workflows/test.yml