Skip to content

Commit

Permalink
Moved CodeCov badge next to the CI one. (#30)
Browse files Browse the repository at this point in the history
* Moved CodeCov badge next to the CI one.

Signed-off-by: Daniel (dB.) Doubrovkine <[email protected]>

* Load simplecov before source.

Signed-off-by: Daniel (dB.) Doubrovkine <[email protected]>

Signed-off-by: Daniel (dB.) Doubrovkine <[email protected]>
  • Loading branch information
dblock authored Nov 3, 2022
1 parent 655b969 commit 29256b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![codecov](https://codecov.io/gh/opensearch-project/project-tools/branch/main/graph/badge.svg)](https://codecov.io/gh/opensearch-project/project-tools)

- [OpenSearch Project Tools](#opensearch-project-tools)
- [Usage](#usage)
- [Global Options](#global-options)
Expand Down Expand Up @@ -27,6 +25,7 @@
## OpenSearch Project Tools

[![Tests](https://github.com/opensearch-project/project-tools/actions/workflows/test.yml/badge.svg)](https://github.com/opensearch-project/project-tools/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/opensearch-project/project-tools/branch/main/graph/badge.svg)](https://codecov.io/gh/opensearch-project/project-tools)

Tools to gather stats on a GitHub organization.

Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

require 'rubygems'
require 'rspec'

require 'simplecov'
SimpleCov.start

require 'lib/tools'

Dir[File.join(File.dirname(__FILE__), 'support', '**/*.rb')].each do |file|
Expand Down
3 changes: 0 additions & 3 deletions spec/support/codecov.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
require 'simplecov'
SimpleCov.start

require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov

0 comments on commit 29256b6

Please sign in to comment.