Setup CodeClimate's quality reporting

This commit is contained in:
Wilson Silva
2023-01-06 12:41:31 +07:00
parent a24e2368cb
commit 766523bf4d
3 changed files with 9 additions and 3 deletions

View File

@@ -23,5 +23,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- name: Test and report the code coverage
uses: paambaati/codeclimate-action@v3.2.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: bundle exec rspec