Skip to content

Commit 4f2ed55

Browse files
authored
Merge pull request #53 from dblock/replace-code-climate-with-coveralls
Replace Code Climate with Coveralls
2 parents df6e2cb + 45c6b4f commit 4f2ed55

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
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 }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### 1.0.1 (Next)
22

3+
* [#53](https://github.com/dblock/ruby-enum/pull/53): Replace code climate with coveralls - [@dblock](https://github.com/dblock).
34
* Your contribution here.
45

56
### 1.0.0 (2023/01/10)

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Ruby::Enum
33

44
[![Gem Version](http://img.shields.io/gem/v/ruby-enum.svg)](http://badge.fury.io/rb/ruby-enum)
55
[![Build Status](https://github.com/dblock/ruby-enum/workflows/test/badge.svg?branch=master)](https://github.com/dblock/ruby-enum/actions)
6-
[![Code Climate](https://codeclimate.com/github/dblock/ruby-enum.svg)](https://codeclimate.com/github/dblock/ruby-enum)
6+
[![Coverage Status](https://coveralls.io/repos/github/dblock/ruby-enum/badge.svg?branch=master)](https://coveralls.io/github/dblock/ruby-enum?branch=master)
77

88
Enum-like behavior for Ruby, heavily inspired by [this](http://www.rubyfleebie.com/enumerations-and-ruby), and improved upon [another blog post](http://code.dblock.org/how-to-define-enums-in-ruby).
99

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)