Skip to content

Commit

Permalink
removed RUN_SIMPLECOV option
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Apr 10, 2021
1 parent fc614bd commit dede255
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ matrix:
gemfile: ci-gemfiles/ruby-3.0
env:
- ENABLE_OJ=true
- RUN_SIMPLECOV=true
- RUN_RUBOCOP=true
- RUN_CODECOV=true
2 changes: 1 addition & 1 deletion pagy-on-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ When you want to get rid of everything related to the `pagy` development on your

- If you use different pagy images for different pagy versions/branches:
- Remember to checkout the right branch before using it
- If you test it with `RUN_SIMPLECOV` you may need to `rm -rf coverage` or you may get some error that will not allow you to run the tests
- If you get some problem running the tests you might need to `rm -rf coverage`
1 change: 0 additions & 1 deletion pagy-on-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ services:
- user_home:/home/$USER
environment:
- ENABLE_OJ=${ENABLE_OJ:-true}
- RUN_SIMPLECOV=${RUN_SIMPLECOV:-true}
- RUN_RUBOCOP=${RUN_RUBOCOP:-true}
stdin_open: true
tty: true
Expand Down
3 changes: 1 addition & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
$VERBOSE = {'false' => false, 'true' => true}[ENV['VERBOSE']] if ENV['VERBOSE']

require 'bundler/setup'

require 'simplecov' if ENV['RUN_SIMPLECOV'] == 'true'
require 'simplecov'

$LOAD_PATH.unshift File.expand_path('../lib', __dir__)

Expand Down

0 comments on commit dede255

Please sign in to comment.