Sha256: 82455114473a7ba1d354a3aaf842d937f3b5c6f5dc9129f496e3033b6c373852

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

name: Generator specs

on: [push, pull_request]

jobs:
  test:
    name: Generator specs
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
        ruby: ['2.6', '2.7', '3.0']
        use_package_json_gem: ['true', 'false']
        gemfile:
          - gemfiles/Gemfile-rails.6.0.x
          - gemfiles/Gemfile-rails.6.1.x
          - gemfiles/Gemfile-rails.7.0.x
          # Uncomment the following line only to ensure compatibility with the
          # upcomming Rails versions, maybe before a release.
          #- gemfiles/Gemfile-rails-edge
        exclude:
          - ruby: 2.6
            os: ubuntu-latest
            gemfile: gemfiles/Gemfile-rails.7.0.x
          - ruby: 2.6
            os: ubuntu-latest
            gemfile: gemfiles/Gemfile-rails-edge
    env:
      BUNDLE_GEMFILE: ${{ matrix.gemfile }}

    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install dependencies
        run: bundle install
      - run: bundle exec rake run_spec:generator
        env:
          SHAKAPACKER_USE_PACKAGE_JSON_GEM: ${{ matrix.use_package_json_gem }}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shakapacker-7.2.0 .github/workflows/generator.yml
shakapacker-7.2.0.rc.0 .github/workflows/generator.yml