Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of codecov gem #639

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ jobs:
- name: Run tests
env:
CI: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
bundle exec rails db:setup
bundle exec rails test
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
lint:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ gem 'rack-cors', '~> 2.0'
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]

group :test do
gem 'codecov', '~> 0.6.0', require: false
gem 'mocha', '~> 2.4.5', require: false
gem 'simplecov', '~> 0.21', require: false
gem 'simplecov-cobertura', '~> 2.1.0', require: false
end

group :development, :test do
Expand Down
8 changes: 5 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ GEM
builder (3.3.0)
case_transform (0.2)
activesupport
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
Expand Down Expand Up @@ -231,6 +229,7 @@ GEM
regexp_parser (2.9.2)
reline (0.5.10)
io-console (~> 0.5)
rexml (3.3.7)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand Down Expand Up @@ -268,6 +267,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.12.3)
simplecov_json_formatter (0.1.3)
sorbet-runtime (0.5.11577)
Expand Down Expand Up @@ -295,7 +297,6 @@ DEPENDENCIES
bcrypt (~> 3.1)
bootsnap (~> 1.18.4)
brakeman
codecov (~> 0.6.0)
debug (~> 1.9)
factory_bot_rails (~> 6.4)
faker (~> 3.4)
Expand All @@ -314,6 +315,7 @@ DEPENDENCIES
rubocop-rails (~> 2.26)
ruby-lsp (~> 0.18.1)
simplecov (~> 0.21)
simplecov-cobertura (~> 2.1.0)
tzinfo-data
wahwah (~> 1.6.6)
will_paginate (~> 4.0)
Expand Down
32 changes: 21 additions & 11 deletions gemset.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
end

if ENV['CI'].present?
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
require 'simplecov-cobertura'
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
end

require_relative '../config/environment'
Expand Down