Skip to content

Commit

Permalink
Fix CodeClimate test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-kovalev committed Jan 2, 2024
1 parent 4a8b150 commit 9b4ac38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
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
- name: Bundle Install
run: bundle install
- name: Test
run: bundle exec rspec
- name: Publish Codeclimate Code Coverage
if: ${{ matrix.ruby_version == env.RUBY_MAIN_VERSION }}
run: |
./cc-test-reporter after-build -r ${{secrets.CC_TEST_REPORTER_ID}}
./cc-test-reporter format-coverage -t simplecov
./cc-test-reporter upload-coverage -r ${{secrets.CC_TEST_REPORTER_ID}}
- name: Coveralls Parallel
if: ${{ matrix.ruby_version == env.RUBY_MAIN_VERSION }}
uses: coverallsapp/github-action@master
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ pkg
.ruby-version
.ruby-gemset
Gemfile.lock

cc-test-reporter

0 comments on commit 9b4ac38

Please sign in to comment.