Sha256: 4c1fe2687e5dc75127fe924ba5c2e643daafab282517c5efff32ca5cc03d5d05

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

name: CI
on: [push, pull_request]
jobs:
  test:
    strategy:
      matrix:
        pg:
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
        ruby:
          - "3.0"
          - "3.1"
          - "3.2"
        gemfile:
          - rails_6.1
          - rails_7.0
          - rails_7.1
    name: PostgreSQL ${{ matrix.pg }} - Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }}
    runs-on: ubuntu-latest
    env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
      BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
      ImageOS: ubuntu20
    steps:
      - uses: actions/checkout@v3
      - name: Build postgres image and start the container
        run: docker-compose up -d --build
        env:
          PGVERSION: ${{ matrix.pg }}
      - name: Setup Ruby using .ruby-version file
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
      - run: bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_ha_migrations-1.8.0 .github/workflows/ci.yml