Sha256: 8879b51de53162bcba584f4629449a7285dde32f6efc1233d9c6c45db3497002

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 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
          - 3.2
        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.rails50
          ruby: 3.2
        - gemfile: Gemfile.rails51
          ruby: 2.7
        - gemfile: Gemfile.rails51
          ruby: '3.0'
        - gemfile: Gemfile.rails51
          ruby: 3.1
        - gemfile: Gemfile.rails51
          ruby: 3.2
        - gemfile: Gemfile.rails52
          ruby: 2.7
        - gemfile: Gemfile.rails52
          ruby: '3.0'
        - gemfile: Gemfile.rails52
          ruby: 3.1
        - gemfile: Gemfile.rails52
          ruby: 3.2
        - 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

6 entries across 6 versions & 1 rubygems

Version Path
apipie-rails-1.1.0 .github/workflows/build.yml
apipie-rails-1.0.0 .github/workflows/build.yml
apipie-rails-0.9.4 .github/workflows/build.yml
apipie-rails-0.9.3 .github/workflows/build.yml
apipie-rails-0.9.2 .github/workflows/build.yml
apipie-rails-0.9.1 .github/workflows/build.yml