name: build-and-test
on: [push]
jobs:
  unit-tests:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        include:
          - ruby-version: 2.4.x
            puppet-version: ~> 5.0
          - ruby-version: 2.5.x
            puppet-version: ~> 6.0
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        env:
          PUPPET_VERSION: ${{ matrix.puppet-version}}
        with:
          ruby-version: ${{matrix.ruby-version}}
      - run: bundle install --without development system_tests
      - run: bundle exec rake test
        env:
          SPEC_OPTS: '--format documentation'
name: build-and-test
on: [push]
jobs:
  unit-tests:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        include:
          - ruby-version: 2.4.x
            puppet-version: ~> 5.0
          - ruby-version: 2.5.x
            puppet-version: ~> 6.0
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        env:
          PUPPET_VERSION: ${{ matrix.puppet-version}}
        with:
          ruby-version: ${{matrix.ruby-version}}
      - run: bundle install
      - run: bundle exec rake test
        env:
          SPEC_OPTS: '--format documentation'
Drop usage of deprecated --without paramete
Drop usage of deprecated --without paramete
