This repository was archived by the owner on Sep 29, 2025. It is now read-only.
Preparing for release, 0.3.0. #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: test-postgresql | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: test | |
| services: | |
| postgres: | |
| image: postgres:17 | |
| env: | |
| POSTGRES_USER: test | |
| POSTGRES_PASSWORD: password | |
| POSTGRES_DB: slack_ruby_bot_server_slack_test | |
| ports: | |
| - 5432:5432 | |
| options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
| env: | |
| DATABASE_ADAPTER: activerecord | |
| DATABASE_URL: postgres://test:password@localhost/slack_ruby_bot_server_slack_test | |
| RACK_ENV: test | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.4' | |
| bundler-cache: true | |
| - run: bundle exec rake spec | |
| - working-directory: sample_apps/sample_app_activerecord | |
| run: | | |
| bundle install | |
| bundle exec rake | |