Sha256: 0985dd81c2967506e68aff233cb96a3b3aa4f3928704afdef0f37c4d228cb4b8

Contents?: true

Size: 1.43 KB

Versions: 5

Compression:

Stored size: 1.43 KB

Contents

name: rspec

on:
  push:
    branches: [ master ]
  pull_request:

jobs:
  build:
    name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
        os: [ ubuntu-latest, windows-latest, macos-latest ]
        experimental: [ false ]
        include:
          - ruby: '2.7'
            os: 'ubuntu-latest'
            experimental: true
          - ruby: '2.7'
            os: 'windows-latest'
            experimental: true
          - ruby: '2.7'
            os: 'macos-latest'
            experimental: true

    steps:
      - uses: actions/checkout@master

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

      - uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
          restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}

      - if: matrix.os == 'macos-latest'
        run: brew install lcdf-typetools

      - run: bundle config set path 'vendor/bundle'

      - run: bundle install --jobs 4 --retry 3

      - if: matrix.os == 'macos-latest'
        run: bundle exec rspec
        env:
          TEST_ENV: CI

      - if: matrix.os != 'macos-latest'
        run: bundle exec rspec --tag ~dev
        env:
          TEST_ENV: CI

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fontist-1.8.5 .github/workflows/rspec.yml
fontist-1.8.4 .github/workflows/rspec.yml
fontist-1.8.3 .github/workflows/rspec.yml
fontist-1.8.2 .github/workflows/rspec.yml
fontist-1.8.1 .github/workflows/rspec.yml