Skip to content

Commit

Permalink
Remove unused coveralls and replace with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Oct 1, 2024
1 parent af6dd2e commit 58101cf
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ jobs:
run: bin/brakeman -q -w2
- name: Lint Ruby files
run: bin/rubocop --parallel
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ database.yml
.DS_Store
coverage
vendor/ruby
.coveralls.yml
*.directory
logfile

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ gem 'webrick'
group :test do
gem 'capybara'
gem 'capybara-screenshot'
gem 'coveralls_reborn', require: false
gem 'factory_bot_rails'
gem 'launchy'
gem 'rails-controller-testing'
Expand All @@ -60,6 +59,7 @@ group :test do
gem 'rubocop-rspec'
gem 'selenium-webdriver'
gem 'simplecov'
gem 'simplecov-cobertura'
gem 'spork'
gem 'timecop'
end
Expand Down
16 changes: 4 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,6 @@ GEM
unaccent (~> 0.3)
country_select (9.0.0)
countries (> 5.0, < 7.0)
coveralls_reborn (0.28.0)
simplecov (~> 0.22.0)
term-ansicolor (~> 1.7)
thor (~> 1.2)
tins (~> 1.32)
crass (1.0.6)
csv (3.3.0)
dalli (3.2.8)
Expand Down Expand Up @@ -469,6 +464,9 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
spork (0.9.2)
Expand All @@ -482,19 +480,13 @@ GEM
stringio (3.1.1)
strip_attributes (1.13.0)
activemodel (>= 3.0, < 8.0)
sync (0.5.0)
temple (0.10.3)
term-ansicolor (1.8.0)
tins (~> 1.0)
terrapin (1.0.1)
climate_control
thor (1.3.2)
tilt (2.4.0)
timecop (0.9.10)
timeout (0.4.1)
tins (1.33.0)
bigdecimal
sync
turbo-rails (2.0.7)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
Expand Down Expand Up @@ -536,7 +528,6 @@ DEPENDENCIES
capybara
capybara-screenshot
country_select
coveralls_reborn
dalli
database_cleaner
debug
Expand Down Expand Up @@ -586,6 +577,7 @@ DEPENDENCIES
simple_form
simple_token_authentication
simplecov
simplecov-cobertura
spork
sprockets-rails
strip_attributes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Coverage Status](https://coveralls.io/repos/scottwainstock/pbm/badge.png)](https://coveralls.io/r/scottwainstock/pbm)
[![codecov](https://codecov.io/gh/pinballmap/pbm/graph/badge.svg?token=Kgt4ffi0RK)](https://codecov.io/gh/pinballmap/pbm)

Code License: [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
require 'rspec/rails'
require 'capybara/rspec'
require 'simplecov'
require 'coveralls'
require 'simplecov-cobertura'
require 'rspec/retry'
require 'selenium/webdriver'

include Sprockets::Rails::Helper
include ActiveSupport::Testing::TimeHelpers

SimpleCov.start
Coveralls.wear!
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Expand Down

0 comments on commit 58101cf

Please sign in to comment.