Sha256: e018b9f36da1ed4b14e491243d978b35fa01548851ebe957bc218b1d619acb5a

Contents?: true

Size: 1.66 KB

Versions: 4

Compression:

Stored size: 1.66 KB

Contents

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: build

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - 2.6
          - 2.7
          - '3.0'
          - 3.1
        gemfile:
          - Gemfile.rails50
          - Gemfile.rails51
          - Gemfile.rails52 # Min ruby 2.2.2
          - Gemfile.rails60 # Min ruby 2.5.0
          - Gemfile.rails61 # Min ruby 2.5.0
          - Gemfile.rails70 # Min ruby 2.7.0
        exclude:
        - gemfile: Gemfile.rails50
          ruby: 2.7
        - gemfile: Gemfile.rails50
          ruby: '3.0'
        - gemfile: Gemfile.rails50
          ruby: 3.1
        - gemfile: Gemfile.rails51
          ruby: 2.7
        - gemfile: Gemfile.rails51
          ruby: '3.0'
        - gemfile: Gemfile.rails51
          ruby: 3.1
        - gemfile: Gemfile.rails52
          ruby: 2.7
        - gemfile: Gemfile.rails52
          ruby: '3.0'
        - gemfile: Gemfile.rails52
          ruby: 3.1
        - gemfile: Gemfile.rails70
          ruby: 2.6

    env:
      BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
    - run: bundle exec rspec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apipie-rails-0.9.0 .github/workflows/build.yml
apipie-rails-0.8.2 .github/workflows/build.yml
apipie-rails-0.8.1 .github/workflows/build.yml
apipie-rails-0.8.0 .github/workflows/build.yml