Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration configuration settings #450

Merged
merged 6 commits into from
Jun 29, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added: spec:contrib rake task to test Contrib core.
  • Loading branch information
delner committed Jun 25, 2018
commit bf7b51d5d03e1b731310eb95442f2c7d88da05ea
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ namespace :spec do
t.pattern = 'spec/ddtrace/contrib/rails/**/*disable_env*_spec.rb'
end

RSpec::Core::RakeTask.new(:contrib) do |t|
t.pattern = 'spec/**/contrib/{configurable,integration,patchable,patcher,registerable,configuration/*}_spec.rb'
end

[
:active_model_serializers,
:active_record,
Expand Down Expand Up @@ -208,6 +212,7 @@ task :ci do
# Main library
sh 'bundle exec rake test:main'
sh 'bundle exec rake spec:main'
sh 'bundle exec rake spec:contrib'

if RUBY_PLATFORM != 'java'
# Contrib minitests
Expand Down Expand Up @@ -249,6 +254,7 @@ task :ci do
# Main library
sh 'bundle exec rake test:main'
sh 'bundle exec rake spec:main'
sh 'bundle exec rake spec:contrib'

if RUBY_PLATFORM != 'java'
# Contrib minitests
Expand Down Expand Up @@ -293,6 +299,7 @@ task :ci do
# Main library
sh 'bundle exec rake test:main'
sh 'bundle exec rake spec:main'
sh 'bundle exec rake spec:contrib'

if RUBY_PLATFORM != 'java'
# Contrib minitests
Expand Down Expand Up @@ -343,6 +350,7 @@ task :ci do
# Main library
sh 'bundle exec rake test:main'
sh 'bundle exec rake spec:main'
sh 'bundle exec rake spec:contrib'

if RUBY_PLATFORM != 'java'
# Contrib minitests
Expand Down Expand Up @@ -404,6 +412,7 @@ task :ci do
# Main library
sh 'bundle exec rake test:main'
sh 'bundle exec rake spec:main'
sh 'bundle exec rake spec:contrib'

if RUBY_PLATFORM != 'java'
# Contrib minitests
Expand Down Expand Up @@ -464,6 +473,7 @@ task :ci do
# Main library
sh 'bundle exec rake test:main'
sh 'bundle exec rake spec:main'
sh 'bundle exec rake spec:contrib'

if RUBY_PLATFORM != 'java'
# Contrib minitests
Expand Down