diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2f117043..75a48f22c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,17 +99,16 @@ jobs: - name: Install required JS packages run: yarn install - - name: Setup CodeClimate Reporter - run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build - - name: install chrome run: sudo apt-get install google-chrome-stable - name: Prepare database for testing - run: bundle exec rails db:prepare + run: bundle exec rails db:prepare assets:precompile search:reindex - name: Run rspec (report results to Percy.io and CodeClimate) - run: bundle exec rspec spec && ./cc-test-reporter after-build + run: bundle exec rspec spec -fd + + - name: Report to code climate + run: | + gem install codeclimate-test-reporter + codeclimate-test-reporter