Sha256: d2fc0d516bd4e4a760bb2e78117dd310c5fc8bf77c772ca81b6a84a03c5c152e

Contents?: true

Size: 889 Bytes

Versions: 3

Compression:

Stored size: 889 Bytes

Contents

name: ThemeCheck

on: [push]

jobs:
  test:
    runs-on: macos-latest

    strategy:
      matrix:
        version:
          - 3.0.0
          - 2.7.1
          - 2.6.6

    name: Ruby ${{ matrix.version }}

    steps:
    - uses: actions/checkout@v2
    - 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: Test runtime
      # Testing that runtime can execute, not testing the results themselves
      run: bundle exec theme-check ./test/theme | grep -q "files inspected"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theme-check-1.4.0 .github/workflows/theme-check.yml
theme-check-1.3.0 .github/workflows/theme-check.yml
theme-check-1.2.0 .github/workflows/theme-check.yml