Skip to content

Merge pull request #37 from perseids-tools/dependabot/bundler/puma-6.3.1 #89

Merge pull request #37 from perseids-tools/dependabot/bundler/puma-6.3.1

Merge pull request #37 from perseids-tools/dependabot/bundler/puma-6.3.1 #89

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Build application
run: docker-compose build
- name: Test without Redis
run: docker-compose -f docker-compose.no-redis.yml run web rspec
- name: Test with Redis
run: docker-compose run web rspec
- name: Install bundler locally
run: gem install bundler --version 2.4.5
- name: Install dependencies locally
run: bundle install
- name: Lint code
run: bundle exec rubocop
- name: Audit code
run: bundle exec bundler-audit check --update