Sha256: 32c5fc822b6b4b73d5e0138620f76bd49ae41e32e72c998dc49283671806c85f

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

---
name: RSpec test

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  rspec_tests:
    name: ${{ matrix.cfg.os }}(ruby ${{ matrix.cfg.ruby }})
    strategy:
      matrix:
        cfg:
          - {os: ubuntu-20.04, ruby: '2.7'}
          - {os: ubuntu-20.04, ruby: '3.0'}
          - {os: ubuntu-20.04, ruby: '3.2'}
          - {os: ubuntu-20.04, ruby: 'jruby-9.4.2'}
          - {os: windows-2019, ruby: '2.7'}
          - {os: windows-2019, ruby: '3.0'}
          - {os: windows-2019, ruby: '3.2'}

    runs-on: ${{ matrix.cfg.os }}
    steps:
      - name: Checkout current PR
        uses: actions/checkout@v3

      - name: Install ruby version ${{ matrix.cfg.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.cfg.ruby }}

      - name: Update rubygems and install gems
        run: |
          gem update --system --silent --no-document
          bundle config set without packaging
          bundle install --jobs 4 --retry 3
      
      - run: bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
semantic_puppet-1.1.0 .github/workflows/rspec_tests.yaml