try again
This commit is contained in:
parent
e0a1122552
commit
0e41a733c3
1 changed files with 4 additions and 2 deletions
6
.github/workflows/spec.yml
vendored
6
.github/workflows/spec.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
RAILS_ENV: test
|
RAILS_ENV: test
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
suite: [models, features, controllers, ability]
|
suite: [models, features, controllers, ability, leftovers]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
|
|
@ -42,9 +42,11 @@ jobs:
|
||||||
bundle exec rake db:setup --trace
|
bundle exec rake db:setup --trace
|
||||||
bundle exec bin/rails webdrivers:chromedriver:update
|
bundle exec bin/rails webdrivers:chromedriver:update
|
||||||
- name: spec/${{ matrix.suite }}
|
- name: spec/${{ matrix.suite }}
|
||||||
|
if: ${{ matrix.suite }} != 'leftovers'
|
||||||
run: bundle exec rspec spec/${{ matrix.suite }}
|
run: bundle exec rspec spec/${{ matrix.suite }}
|
||||||
- name: spec/leftovers
|
- name: spec/leftovers
|
||||||
run: bundle exec rspec --exclude-pattern "{spec/{models, features, controllers, ability}/**/*_spec.rb, spec/datatables/**/*_spec.rb}"
|
if: ${{ matrix.suite }} == 'leftovers'
|
||||||
|
run: bundle exec rspec --exclude-pattern "spec/{models, features, controllers, ability}/**/*_spec.rb, spec/datatables/**/*_spec.rb"
|
||||||
- name: coverage upload ${{ matrix.suite }}
|
- name: coverage upload ${{ matrix.suite }}
|
||||||
uses: codacy/codacy-coverage-reporter-action@master
|
uses: codacy/codacy-coverage-reporter-action@master
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue