From 20da873c09a7722d42c17ab25f73db7b6c6de17e Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 8 Apr 2021 00:24:36 +0800 Subject: [PATCH] try running rspec instead of rake --- .github/workflows/spec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index 4624a03e..9f83c059 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -43,8 +43,8 @@ jobs: bundle exec bin/rails webdrivers:chromedriver:update - name: spec/${{ matrix.suite }} run: | - bundle exec rake spec:${{ matrix.suite }} - bundle exec rake spec:leftovers --exclude-pattern "**/user_datatable_spec.rb" + bundle exec rspec spec/${{ matrix.suite }} + bundle exec rspec --exclude-pattern "spec/{models, features, controllers, ability}/**/*_spec.rb" - name: coverage upload ${{ matrix.suite }} uses: codacy/codacy-coverage-reporter-action@master if: github.ref == 'refs/heads/master'