Sha256: b63e4ccc3f0cdc2e0a91bc18494394961036fad58269b3fb76dd7ccdcdb31e0f

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

name: test-postgresql

on: [push, pull_request]

jobs:
  test-postgresql:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup Firefox
        uses: browser-actions/setup-firefox@latest
        with:
          firefox-version: "108.0"
      - name: Download geckodriver
        uses: browser-actions/setup-geckodriver@latest
        with:
          geckodriver-version: '0.32.0'
      - run: geckodriver --version
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: "2.7.7"
      - uses: harmon758/postgresql-action@v1
        with:
          postgresql version: "14"
          postgresql db: slack_ruby_bot_server_stripe__test
          postgresql user: test
          postgresql password: password
      - name: Test
        uses: GabrielBB/xvfb-action@v1
        env:
          DATABASE_ADAPTER: activerecord
          DATABASE_URL: postgres://test:password@127.0.0.1:5432/slack_ruby_bot_server_stripe__test
        with:
          run: |
            bundle install
            bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-bot-server-stripe-0.2.0 .github/workflows/test-postgresql.yml