Merge pull request #1310 from SUSE/depfu/update/rubocop-1.56.0 #1303
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: 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 |