Preparing for release, 0.2.0. #20
Workflow file for this run
This file contains 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-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:[email protected]:5432/slack_ruby_bot_server_stripe__test | |
with: | |
run: | | |
bundle install | |
bundle exec rake spec |