Sha256: 64c012d1850a62d7789bb5866095d524f7c66b7cf485fd6a5554ca4515702b63

Contents?: true

Size: 951 Bytes

Versions: 10

Compression:

Stored size: 951 Bytes

Contents

name: CI

on:
  - push

env:
  BUNDLE_PATH: vendor/bundle

jobs:
  test:
    name: Tests
    runs-on: ubuntu-22.04
    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
    strategy:
      matrix:
        ruby:
          - '2.7'
          - '3.3'
    services:
      postgres:
        image: postgres
        env:
          POSTGRES_PASSWORD: postgres
        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
        ports:
          - 5432:5432

    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: "Tests and Lint"
        run: bundle exec rake
        env:
          PGHOST: localhost
          PGUSER: postgres
          PGPASSWORD: postgres
          TESTOPTS: "--fail-fast"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gouda-0.1.12 .github/workflows/ci.yml
gouda-0.1.11 .github/workflows/ci.yml
gouda-0.1.10 .github/workflows/ci.yml
gouda-0.1.9 .github/workflows/ci.yml
gouda-0.1.8 .github/workflows/ci.yml
gouda-0.1.7 .github/workflows/ci.yml
gouda-0.1.5 .github/workflows/ci.yml
gouda-0.1.4 .github/workflows/ci.yml
gouda-0.1.3 .github/workflows/ci.yml
gouda-0.1.2 .github/workflows/ci.yml