Sha256: ba227806c80c6e67b46e1b50dc663d24e7bf78fffb837ee7589616f889843f79

Contents?: true

Size: 1 KB

Versions: 6

Compression:

Stored size: 1 KB

Contents

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby

on: [push, pull_request, workflow_dispatch]

jobs:
  test:

    runs-on: ubuntu-latest

    env:
      PGHOST: "localhost"
      PGPORT: "5432"

    services:
      postgres:
        image: postgres:13
        env:
          POSTGRES_USER: "runner"
          POSTGRES_HOST_AUTH_METHOD: trust
        ports: ["5432:5432"]

    strategy:
      matrix:
        ruby-version: ['2.7', '3.0']

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Run tests
      run: script/test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
test_data-0.3.2 .github/workflows/ruby.yml
test_data-0.3.1 .github/workflows/ruby.yml
test_data-0.3.0 .github/workflows/ruby.yml
test_data-0.2.2 .github/workflows/ruby.yml
test_data-0.2.1 .github/workflows/ruby.yml
test_data-0.2.0 .github/workflows/ruby.yml