Skip to content

Commit

Permalink
[ci] Add flags to code coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
bgeuken committed Jul 9, 2018
1 parent 180c030 commit 98352f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/spec/support/coverage.rb
Expand Up @@ -5,7 +5,7 @@

# SimpleCov configuration
SimpleCov.start 'rails' do
ENV['CODECOV_FLAG'] = ENV['TEST_SUITE']
ENV['CODECOV_FLAG'] = ENV['CIRCLE_STAGE']
# NOTE: Keep filters in sync with test/test_helper.rb
add_filter '/app/indices/'
add_filter '/lib/templates/'
Expand Down
2 changes: 1 addition & 1 deletion src/api/test/test_helper.rb
Expand Up @@ -10,7 +10,7 @@
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

if ENV['DO_COVERAGE']
ENV['CODECOV_FLAG'] = ENV['TEST_SUITE']
ENV['CODECOV_FLAG'] = ENV['CIRCLE_STAGE']
SimpleCov.start 'rails' do
# NOTE: Keep filters in sync with spec/support/coverage.rb
add_filter '/app/indices/'
Expand Down

0 comments on commit 98352f0

Please sign in to comment.