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 9afc82e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ruby.yml
Expand Up @@ -71,4 +71,12 @@ jobs:
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
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: bundle exec rspec
- name: Report rspec test coverage to codeclimate.com
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: bundle exec rspec

0 comments on commit 9afc82e

Please sign in to comment.