Sha256: 189f5388de1f0ecc56fadbb916f3b61509c8256117c3dd165f6629920b3b108e

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

name: Test

on:
  pull_request: {}
  push:
    branches:
      - master

jobs:
  rubocop:
    env:
      BUNDLE_WITHOUT: release
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: "3.3"
          bundler-cache: true
      - name: Run Rubocop
        run: bundle exec rake rubocop

  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '2.7'
          - '3.0'
          - '3.1'
          - '3.2'
          - '3.3'
    steps:
      - uses: actions/checkout@v4
      - name: Install Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
        env:
          BUNDLE_WITHOUT: release
      - name: Run tests
        run: bundle exec rake spec
      - name: Build gem
        run: gem build --strict --verbose *.gemspec

  tests:
    needs:
      - rubocop
      - test
    runs-on: ubuntu-latest
    name: Test suite
    steps:
      - run: echo Test suite completed

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facterdb-3.4.0 .github/workflows/test.yml
facterdb-3.3.0 .github/workflows/test.yml
facterdb-3.2.0 .github/workflows/test.yml
facterdb-3.1.0 .github/workflows/test.yml
facterdb-3.0.0 .github/workflows/test.yml
facterdb-2.1.0 .github/workflows/test.yml