Sha256: ded4f8036e440820c56450e4f41d8eda628fca431ad8401028aeaeba8eb3ed2f

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

name: rspec

on:
  push:
    branches: [ master, main ]
  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-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
          restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}

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

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

      - run: bundle exec rspec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
excavate-0.3.0 .github/workflows/rspec.yml
excavate-0.2.5 .github/workflows/rspec.yml
excavate-0.2.4 .github/workflows/rspec.yml