Skip to content

Commit

Permalink
Added CODECOV_TOKEN.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Aug 20, 2024
1 parent 55dd99a commit acab488
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ jobs:
bundle install
bundle exec rake spec
- name: Upload Coverage Report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ source 'http://rubygems.org'

gem 'activesupport'
gem 'chronic'
gem 'codecov'
gem 'dotiw'
gem 'faraday'
gem 'faraday-http-cache'
Expand All @@ -19,6 +18,7 @@ gem 'rubocop-rake'
gem 'rubocop-rspec'
gem 'ruby-progressbar'
gem 'simplecov'
gem 'simplecov-cobertura'

group :test do
gem 'rake', '~> 13'
Expand Down
7 changes: 4 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ GEM
base64 (0.2.0)
bigdecimal (3.1.5)
chronic (0.10.2)
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
crack (0.4.5)
Expand Down Expand Up @@ -110,6 +108,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.4)
strscan (3.1.0)
Expand All @@ -129,7 +130,6 @@ PLATFORMS
DEPENDENCIES
activesupport
chronic
codecov
dotiw
faraday
faraday-http-cache
Expand All @@ -146,6 +146,7 @@ DEPENDENCIES
rubocop-rspec
ruby-progressbar
simplecov
simplecov-cobertura
vcr
webmock

Expand Down
4 changes: 2 additions & 2 deletions spec/support/codecov.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
require 'simplecov-cobertura'
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter

0 comments on commit acab488

Please sign in to comment.