Sha256: 8e2e10a503977d9d56f5eabda96bcbd5c56a5dc7cfb17aa43d31856fc4349729

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

name: Continuous Integration

on:
  push:
    branches:
      - '**'

jobs:
  tests:
    runs-on: ubuntu-latest

    services:
      postgres:
        image: postgres:11.5
        ports: ["5432:5432"]
        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
      mysql:
        image: mysql:8.0
        env:
          MYSQL_ROOT_PASSWORD: password
        ports: ["3306:3306"]
        options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5

    strategy:
      fail-fast: false
      matrix:
        ruby: ["2.5", "2.6", "2.7", "3.0", "3.1"]
        rails: ["6.0", "6.1", "7.0"]
        db: ["pg", "mysql"]
        exclude:
          - ruby: 2.5
            rails: 7.0
          - ruby: 2.6
            rails: 7.0
          - ruby: 3.1
            rails: 7.0
    env:
      BUNDLE_GEMFILE: ${{github.workspace}}/gemfiles/Gemfile.${{matrix.rails}}.${{ matrix.db }}
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: "${{ matrix.ruby }}"
    - name: Bundle
      run: |
        gem install bundler:2.2.15
        bundle install

    - name: Run Tests
      env:
        PGHOST: localhost
        PGUSER: postgres
      run: bundle exec rspec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
temporal_tables-2.0.0 .github/workflows/test.yml
temporal_tables-1.1.0 .github/workflows/test.yml
temporal_tables-1.0.3 .github/workflows/test.yml
temporal_tables-1.0.2 .github/workflows/test.yml
temporal_tables-1.0.1 .github/workflows/test.yml