Skip to content

Commit

Permalink
Add codeclimate coverage step to build GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzedge committed May 9, 2023
1 parent 2f6d939 commit b13c00e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,10 @@ jobs:
with:
ruby-version: 3.2.2
bundler-cache: true
- name: Report rspec test coverage to coveralls.io
run: COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} bundle exec rspec
- name: Report rspec test coverage to coveralls.io and codeclimate.com
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
with:
coverageCommand: bundle exec rspec

0 comments on commit b13c00e

Please sign in to comment.