Sha256: 628051d058f6b40ee3c59a480046351147f8b587975a27875616ce5b54181e9a

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 Bytes

Contents

name: CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    name: Ruby ${{ matrix.ruby }}
    services:
      postgres:
        image: postgres
        env:
          POSTGRES_USER: "test"
          POSTGRES_PASSWORD: "test"
          POSTGRES_DB: "rescue_from_duplicate"
        ports:
          - "5432:5432"
      mysql:
        image: mysql:8.0
        env:
          MYSQL_USER: "test"
          MYSQL_PASSWORD: "test"
          MYSQL_ALLOW_EMPTY_PASSWORD: "true"
          MYSQL_DATABASE: "rescue_from_duplicate"
        ports:
          - "3306:3306"
    strategy:
      fail-fast: false
      matrix:
        ruby: ["3.2"]
    steps:
    - name: Check out code
      uses: actions/checkout@v4
    - name: Set up Ruby ${{ matrix.ruby }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
        cache-version: 1
    - name: Tests
      run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-rescue_from_duplicate-0.2.6 .github/workflows/ci.yml