Sha256: 3855920ac3248fd743ce5cbaad11b1cc64078b70120c7750334abfafe6adc9e2

Contents?: true

Size: 847 Bytes

Versions: 5

Compression:

Stored size: 847 Bytes

Contents

name: CI

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - '**'

jobs:
  ci:
    runs-on: ubuntu-latest

    services:
      db:
        image: postgres:10.19
        env:
          POSTGRES_DB: activerecord_json_validator_test
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
        ports: ['5432:5432']
        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

    env:
      CANONICAL_HOST: localhost
      DATABASE_URL: postgres://postgres:postgres@localhost/activerecord_json_validator_test
      DB_ADAPTER: postgresql

    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.7.5'
          bundler-cache: true
      - run: bundle exec rubocop
      - run: bundle exec rake spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord_json_validator-3.0.0 .github/workflows/ci.yaml
activerecord_json_validator-2.1.5 .github/workflows/ci.yaml
activerecord_json_validator-2.1.4 .github/workflows/ci.yaml
activerecord_json_validator-2.1.3 .github/workflows/ci.yaml
activerecord_json_validator-2.1.2 .github/workflows/ci.yaml