Skip to content

Commit

Permalink
Simplify spec pattern to avoid getting long file name error
Browse files Browse the repository at this point in the history
  • Loading branch information
y9v committed Aug 21, 2024
1 parent 22c1fd3 commit 4ff1b98
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,25 +182,11 @@ namespace :spec do
desc '' # "Explicitly hiding from `rake -T`"
RSpec::Core::RakeTask.new(:contrib) do |t, args|
contrib_paths = [
'analytics',
'configurable',
'*',
'configuration/*',
'configuration/resolvers/*',
'component',
'extensions',
'grpc',
'http',
'http_route',
'integration',
'patchable',
'patcher',
'registerable',
'registry',
'registry/*',
'propagation/**/*',
'span_attribute_schema',
'status_range_env_parser',
'status_range_matcher'
].join(',')

t.pattern = "spec/**/contrib/{#{contrib_paths}}_spec.rb"
Expand Down

0 comments on commit 4ff1b98

Please sign in to comment.