Sha256: 3b19faf0397473050c22a5205fe81fc959701dab878e454f4ddb1e44a7286bf6

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 KB

Contents

name: CI

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

jobs:
  test:
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    name: test (ruby ${{ matrix.ruby }} / rails ${{ matrix.rails_version }} / blacklight ${{ matrix.blacklight_version }} ${{ matrix.additional_name }})
    strategy:
      matrix:
        ruby: ["3.2", "3.3"]
        rails_version: ["7.2.2"]
        blacklight_version: ["~> 7.0"]
        experimental: [false]
        additional_engine_cart_rails_options: [""]
        additional_name: [""]
        include:
          - ruby: "3.3"
            rails_version: "8.0.0"
            blacklight_version: "~> 8.0"
            experimental: false
            additional_engine_cart_rails_options: --css bootstrap
            additional_name: "/ Blackight 8 / Rails 8"
          - ruby: "3.3"
            rails_version: "7.2.2"
            blacklight_version: "github"
            experimental: true
            additional_engine_cart_rails_options: -a propshaft --css bootstrap
            additional_name: "/ Blacklight main branch with Propshaft"
    env:
      RAILS_VERSION: ${{ matrix.rails_version }}
      BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
      ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test ${{ matrix.additional_engine_cart_rails_options }}"
    steps:
      - uses: actions/checkout@v4
      - name: Set up Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install dependencies with Rails ${{ matrix.rails_version }}
        run: bundle install
      - name: Run tests
        run: bundle exec rake

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-gallery-4.8.3 .github/workflows/ruby.yml
blacklight-gallery-4.8.2 .github/workflows/ruby.yml
blacklight-gallery-4.8.1 .github/workflows/ruby.yml
blacklight-gallery-4.8.0 .github/workflows/ruby.yml
blacklight-gallery-4.7.0 .github/workflows/ruby.yml