Skip to content

Merge pull request #1654 from danidoni/do-not-crash-when-there-is-no-… #1964

Merge pull request #1654 from danidoni/do-not-crash-when-there-is-no-…

Merge pull request #1654 from danidoni/do-not-crash-when-there-is-no-… #1964

Workflow file for this run

name: Specs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
spec:
runs-on: ubuntu-latest
name: spec
env:
RAILS_ENV: test
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Prepare spec
run: |
sudo systemctl start mysql.service
wget -nv http://sphinxsearch.com/files/dicts/en.pak
bundle exec rake dev:bootstrap --trace
bundle exec bin/rake webdrivers:chromedriver:update
- name: Run tests
run: bundle exec rspec --color --format documentation