mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-12 19:08:12 -04:00
use codeclimate from gem
This commit is contained in:
committed by
Brenda Wallace
parent
441831f9a5
commit
fb9c42aaf5
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user