Autoload issue with ImpressionistController (#2) #13
Workflow file for this run
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: Main | |
on: [push] | |
jobs: | |
Build-And-Run-Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ['3.1.2', '2.7.5'] | |
env: | |
RAILS_ENV: test | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: setup app | |
run: | | |
bundle | |
cd spec/dummy | |
bundle exec rails g impressionist -f | |
bundle exec rake db:create db:migrate RAILS_ENV=test | |
- name: Lint | |
run: bundle exec rubocop | |
- name: Run Tests | |
run: bundle exec rspec | |