Sha256: 272a6ee185beaceb0e8ae29a2af3e8194489811810f6e1632519a057def6585f

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

name: Ruby

on: [push]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Set up Ruby 2.7
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7
    - name: Build and test with Rake
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3
        bundle exec standardrb

  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby_version: [2.4, 2.5, 2.6, 2.7, 3.0, 3.1]

    steps:
    - uses: actions/checkout@v1
    - name: Set up Ruby ${{ matrix.ruby_version }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby_version }}
    - name: Build and test with Rake
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3
        bundle exec rspec

  rails:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby_version: [2.7, 3.0, 3.1]
    steps:
    - uses: actions/checkout@v1
    - name: Set up Ruby ${{ matrix.ruby_version }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby_version }}
    - name: Test gem in Rails application
      run: |
        cd spec/rails
        gem install bundler
        bundle install --jobs 4 --retry 3
        bundle exec rails test
      env:
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        AWS_DEFAULT_REGION: us-east-2
        PARAMETER_STORE_PATH: /psenv/test/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psenv-0.9.1 .github/workflows/ruby.yml
psenv-0.9.0 .github/workflows/ruby.yml