Skip to content

Commit a2c6ea9

Browse files
dblockclaude
andcommitted
Replace Code Climate with Coveralls for code coverage.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent df6e2cb commit a2c6ea9

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/coverage.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ jobs:
1010
uses: ruby/setup-ruby@v1
1111
with:
1212
ruby-version: 3.2
13-
- uses: amancevice/setup-code-climate@v0
14-
with:
15-
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
16-
- run: cc-test-reporter before-build
13+
bundler-cache: true
1714
- name: Build and test with RSpec
18-
run: |
19-
bundle install --jobs 4 --retry 3
20-
bundle exec rspec
21-
- run: cc-test-reporter after-build
15+
run: bundle exec rspec
16+
env:
17+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ group :development, :test do
1818
end
1919

2020
group :test do
21-
gem 'simplecov', require: false
21+
gem 'coveralls_reborn', require: false
2222
end

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
require 'rubygems'
66

7-
require 'simplecov'
8-
SimpleCov.start
7+
require 'coveralls'
8+
Coveralls.wear!
99

1010
require 'rspec'
1111
require 'ruby-enum'

0 commit comments

Comments
 (0)