debian-mirror-gitlab/debian/tests/spec.rake

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.5 KiB
Ruby
Raw Normal View History

2016-09-18 10:10:24 +05:30
require 'gem2deb/rake/spectask'
Gem2Deb::Rake::RSpecTask.new do |spec|
2016-12-01 22:21:41 +05:30
# directories without any spec.rb files: support, features, fixtures
# TODO: enable javascript tests
spec.pattern = FileList[
2020-11-22 16:08:29 +05:30
'spec/config/mail_room_spec.rb'
#'spec/config/**/*_spec.rb',
#'spec/controllers/*_spec.rb',
#'spec/factories_spec.rb',
#'spec/finders/**/*_spec.rb',
#'spec/helpers/*_spec.rb',
#'spec/initializers/*_spec.rb',
#'spec/lib/**/*_spec.rb',
#'spec/routing/**/*_spec.rb',
#'spec/services/**/*_spec.rb',
#'spec/tasks/**/*_spec.rb',
#'spec/uploaders/*_spec.rb',
#'spec/views/**/*_spec.rb',
#'spec/workers/**/*_spec.rb',
2016-10-02 11:34:12 +05:30
] - FileList[
2020-11-22 16:08:29 +05:30
#'spec/services/git_push_service_spec.rb',
#'spec/services/create_deployment_service_spec.rb',
#'spec/services/ci/image_for_build_service_spec.rb',
#'spec/services/ci/process_pipeline_service_spec.rb',
#'spec/services/ci/send_pipeline_notification_service_spec.rb',
#'spec/services/merge_requests/merge_when_build_succeeds_service_spec.rb',
#'spec/services/system_note_service_spec.rb',
#'spec/controllers/registrations_controller_spec.rb',
#'spec/lib/gitlab/metrics/sampler_spec.rb',
#'spec/lib/banzai/filter/sanitization_filter_spec.rb',
#'spec/lib/gitlab/badge/build/status_spec.rb',
#'spec/lib/gitlab/database/migration_helpers_spec.rb',
#'spec/lib/gitlab/git/hook_spec.rb',
#'spec/lib/gitlab/saml/user_spec.rb',
#'spec/lib/gitlab/sherlock/line_profiler_spec.rb',
#'spec/lib/gitlab/upgrader_spec.rb',
#'spec/lib/gitlab/url_sanitizer_spec.rb',
#'spec/lib/gitlab/workhorse_spec.rb'
2016-10-02 11:34:12 +05:30
]
2016-11-30 22:53:06 +05:30
# https://gitlab.com/gitlab-org/gitlab-ce/issues/25174
2016-09-18 10:10:24 +05:30
end