Sha256: 05a18d766ef980d3cc267cafce93a6c1d297069b45309a494537cc331c81bf47

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 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.4', '2.5', '2.6', '2.7' ]
        os: [ ubuntu-latest, windows-latest, macos-latest ]
        experimental: [ false ]
        # include:
          # - ruby: '3.0'
            # os: 'ubuntu-latest'
            # experimental: true
          # - ruby: '3.0'
            # os: 'windows-latest'
            # experimental: true
          # - ruby: '3.0'
            # 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-v2-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
          restore-keys: bundle-v2-${{ 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

2 entries across 2 versions & 1 rubygems

Version Path
fontist-1.8.10 .github/workflows/rspec.yml
fontist-1.8.9 .github/workflows/rspec.yml