Preparing for next release, 0.2.1. #21
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-mongodb | |
on: [push, pull_request] | |
jobs: | |
test-mongodb: | |
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" | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: "5" | |
mongodb-db: slack-ruby-bot-server-stripe_test | |
- name: Test | |
uses: GabrielBB/xvfb-action@v1 | |
env: | |
DATABASE_ADAPTER: mongoid | |
with: | |
run: | | |
bundle install | |
bundle exec rake |