Skip to content

Commit d3e9c3a

Browse files
committed
Update CI workflow to publish code coverage using Code Climate
Signed-off-by: Rodrigo Nardi <rnardi@netdef.org>
1 parent 517f59b commit d3e9c3a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ruby.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,13 @@ jobs:
9595
cp config_template.yml config.yml
9696
bundle exec rspec -f j -o tmp/rspec_results.json -f p
9797
98-
- name: Save coverage report
99-
uses: actions/upload-artifact@v4
100-
if: always()
101-
with:
102-
name: coverage-report
103-
path: tmp/rspec_results.json
104-
if-no-files-found: warn
98+
- name: Publish code coverage
99+
uses: paambaati/codeclimate-action@v3.0.0
100+
env:
101+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
105102

106103
- name: RSpec Report
107-
uses: SonicGarden/rspec-report-action@v2
104+
uses: SonicGarden/rspec-report-action@v6.0.0
108105
with:
109106
token: ${{ secrets.GITHUB_TOKEN }}
110107
title: 'Unit tests'

0 commit comments

Comments
 (0)