fix syntax

This commit is contained in:
Jimmy 2021-04-08 00:52:02 +08:00 committed by CactusPuppy
parent 0e41a733c3
commit 5498d79ff9
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -42,10 +42,10 @@ 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' if: matrix.suite != 'leftovers'
run: bundle exec rspec spec/${{ matrix.suite }} run: bundle exec rspec spec/${{ matrix.suite }}
- name: spec/leftovers - name: spec/leftovers
if: ${{ matrix.suite }} == 'leftovers' if: matrix.suite == 'leftovers'
run: bundle exec rspec --exclude-pattern "spec/{models, features, controllers, ability}/**/*_spec.rb, spec/datatables/**/*_spec.rb" 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