Sha256: b80293a05cc0660c655c342fe64bc5e0ccd5ddab24df3664f784a31bd5bd7ab1

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

name: ThemeCheck

on: [push]

jobs:
  test:
    runs-on: ${{ matrix.platform }}

    strategy:
      matrix:
        platform:
          - ubuntu-latest
          - windows-latest
        version:
          - 3.0.0
          - 2.7.6
        theme:
          - Shopify/dawn

    name: Ruby ${{ matrix.platform }} ${{ matrix.version }}

    steps:
    - uses: actions/checkout@v2
    - uses: actions/checkout@v2
      with:
        repository: ${{ matrix.theme }}
        path: ./crash-test-theme
    - name: Set up Ruby ${{ matrix.version }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.version }}
    - uses: actions/cache@v1
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('Gemfile') }}
        restore-keys: ${{ runner.os }}-gems-
    - name: Install dependencies
      run: bundle install --jobs=3 --retry=3 --path=vendor/bundle
    - name: Run tests
      run: bundle exec rake
    - name: Crash test
      run: |
        bundle exec theme-check --fail-level crash ./crash-test-theme

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
theme-check-1.15.0 .github/workflows/theme-check.yml
theme-check-1.14.0 .github/workflows/theme-check.yml
theme-check-1.13.0 .github/workflows/theme-check.yml
theme-check-1.12.1 .github/workflows/theme-check.yml
theme-check-1.12.0 .github/workflows/theme-check.yml
theme-check-1.11.0 .github/workflows/theme-check.yml