Merge pull request #22 from CactusPuppy/codecov-travis-tweaks

Minor testing setup changes
This commit is contained in:
CactusPuppy 2021-03-08 09:52:56 -08:00 committed by GitHub
commit 9b77e9b155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 11 deletions

View file

@ -1 +1,6 @@
coverage:
status:
project:
default:
threshold: 0.5%
comment: off

View file

@ -12,23 +12,23 @@ else
fi
case $TEST_SUITE in
linters)
linters|all)
bundle exec rubocop -Dc .rubocop.yml
bundle exec haml-lint app/views
;;
models)
;;&
models|all)
bundle exec rspec --format documentation spec/models
;;
features)
;;&
features|all)
bundle exec rspec --format documentation spec/features
;;
controllers)
;;&
controllers|all)
bundle exec rspec --format documentation spec/controllers
;;
ability)
;;&
ability|all)
bundle exec rspec --format documentation spec/ability
;;
rest)
;;&
rest|all)
bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"
;;
esac