Merge pull request #1694 from SUSE/depfu/update/rspec-rails-7.1.0 #2039
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: | |
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 |