Sha256: e788245427cd75e0cf48a229b4c664754065de88fa3bb99199a9c4761c41926d

Contents?: true

Size: 738 Bytes

Versions: 16

Compression:

Stored size: 738 Bytes

Contents

name: rspec tests

on: [pull_request]

jobs:
  rspec:
    name: Rspec
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports: ["5432:5432"]
        env:
          POSTGRES_DB: <%= app_name %>_test
          POSTGRES_USER: cidbuser
          POSTGRES_PASSWORD: postgres

    steps:
      - uses: actions/checkout@v2

      - id: setup
        uses: ./.github/actions/setup-project
        with:
          rails_env: test

      - name: Run rspec
        env:
          DATABASE_URL: ${{ steps.setup.outputs.database_url }}
        run: bundle exec rspec

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rails_template_18f-0.8.2 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.8.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.8.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.7.2 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.7.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.7.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.6.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.5.3 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.5.2 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.5.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.5.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.4.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.4.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.3.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.2.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
rails_template_18f-0.1.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt