Move factory linting to CI cycle

No need to do this before each and every spec or example. Speeds
up suite and make things less fragile.
This commit is contained in:
Henne Vogelsang 2021-08-18 14:05:19 +02:00
parent 0104671e01
commit 7dbe2d19fe
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
5 changed files with 5 additions and 32 deletions

View file

@ -41,6 +41,7 @@ jobs:
rm -f osem_test osem_development
bundle exec rake db:setup --trace
bundle exec bin/rails webdrivers:chromedriver:update
bundle exec rake factory_bot:lint RAILS_ENV=test
- name: spec/${{ matrix.suite }}
run: bundle exec rake spec:${{ matrix.suite }}
- name: coverage upload ${{ matrix.suite }}