Skip to content

Commit

Permalink
Upload code coverage to CodeClimate
Browse files Browse the repository at this point in the history
  • Loading branch information
arku committed Mar 16, 2021
1 parent dc9ccca commit 51f3575
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,8 @@ jobs:
bundle exec rake db:create
bundle exec rake db:schema:load
bundle exec rails webpacker:compile
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: Run rspec
- name: Run rspec and upload code coverage
env:
DATABASE_HOST: localhost
POSTGRES_USER: postgres
Expand All @@ -74,5 +71,8 @@ jobs:
RUN_SIMPLECOV: true
CC_TEST_REPORTER_ID: 31464536e34ab26588cb951d0fa6b5898abdf401dbe912fd47274df298e432ac
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
RUBYOPT='-W:no-deprecated -W:no-experimental' bundle exec rspec
./cc-test-reporter after-build --exit-code $?

0 comments on commit 51f3575

Please sign in to comment.