Merge pull request #460 from bugcrowd/Allows-Disposable-Email-Addresses #306
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: RSpec Tests | |
on: [push] | |
jobs: | |
build: | |
name: Rspec | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.0 | |
- name: Run bundle install | |
working-directory: ${{env.api-dir}} | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: Build and test with rspec | |
working-directory: ${{env.api-dir}} | |
env: | |
RAILS_ENV: test | |
run: bundle exec rspec |