Sha256: ef976e6cf7ba216a4b291101f1702b57d9a54d3dcea8fd74f1d3e5c467e8c0a5

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 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: test

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
  workflow_dispatch:  

jobs:
  test:

    runs-on: ubuntu-latest
    
    strategy:
      max-parallel: 4
      fail-fast: true
      matrix:
        ruby: [2.4, 2.5, 2.6, 2.7]
    services:
      mysql:
        image: iwata/centos6-mysql56-q4m-hs
        ports:
          - 3306:3306
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
    # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
    # change this to (see https://github.com/ruby/setup-ruby#versioning):
    # uses: ruby/setup-ruby@v1
      uses: ruby/setup-ruby@v1
      with:
        bundler-cache: true
        ruby-version: ${{ matrix.ruby }}
    - name: Install dependencies
      run: bundle install
    - name: Run tests
      run: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shinq-1.2.0 .github/workflows/test.yml
shinq-1.1.0 .github/workflows/test.yml