Prevent deep pagination causing Solr trouble #634
Workflow file for this run
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: Tests | |
| on: pull_request | |
| jobs: | |
| rubocop: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Rubocop | |
| run: | | |
| bundle exec rubocop | |
| rspec: | |
| runs-on: ubuntu-latest | |
| services: | |
| mongodb: | |
| image: mongo:4.4.11 | |
| ports: | |
| - 27017:27017 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Run RSpec unit tests | |
| run: | | |
| bundle exec rspec spec --fail-fast --format=progress | |
| brakeman: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Run RSpec unit tests | |
| run: | | |
| gem install brakeman | |
| brakeman --run-all-checks | |
| bundle-audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Run RSpec unit tests | |
| run: | | |
| gem install bundler-audit | |
| bundle audit check --update |