summaryrefslogtreecommitdiff
path: root/tests.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-17 16:05:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-17 16:05:49 +0000
commit43a25d93ebdabea52f99b05e15b06250cd8f07d7 (patch)
treedceebdc68925362117480a5d672bcff122fb625b /tests.yml
parent20c84b99005abd1c82101dfeff264ac50d2df211 (diff)
downloadgitlab-ce-16.0.0-rc42.tar.gz
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc4216-0-stable
Diffstat (limited to 'tests.yml')
-rw-r--r--tests.yml35
1 files changed, 30 insertions, 5 deletions
diff --git a/tests.yml b/tests.yml
index 1135d475cc4..b2d8311fb7e 100644
--- a/tests.yml
+++ b/tests.yml
@@ -1,8 +1,9 @@
mapping:
- # EE code should map to respective spec
+ # EE app should map to respective spec
- source: ee/app/(.+)\.rb
test: ee/spec/%s_spec.rb
- # FOSS code should map to respective spec
+
+ # FOSS app should map to respective spec
- source: app/(.+)\.rb
test: spec/%s_spec.rb
@@ -19,6 +20,10 @@ mapping:
- source: ee/lib/(.+)\.rb
test: ee/spec/lib/%s_spec.rb
+ # FOSS lib should map to respective spec
+ - source: lib/(.+)\.rb
+ test: spec/lib/%s_spec.rb
+
# See https://gitlab.com/gitlab-org/gitlab/-/issues/368628
- source: lib/gitlab/usage_data_counters/(.+)\.rb
test: spec/lib/gitlab/usage_data_spec.rb
@@ -31,9 +36,13 @@ mapping:
- source: ee/lib/gitlab/ci/config/(.+)\.rb
test: ee/spec/lib/gitlab/ci/yaml_processor_spec.rb
- # FOSS lib & tooling should map to respective spec
- - source: (tooling/)?lib/(.+)\.rb
- test: spec/%slib/%s_spec.rb
+ # FOSS tooling should map to respective spec
+ - source: tooling/(.+)\.rb
+ test: spec/tooling/%s_spec.rb
+
+ # RuboCop related specs
+ - source: rubocop/(.+)\.rb
+ test: spec/rubocop/%s_spec.rb
# Initializers should map to respective spec
- source: config/initializers/(.+)\.rb
@@ -102,3 +111,19 @@ mapping:
test: ee/spec/config/metrics/every_metric_definition_spec.rb
- source: ee/lib/ee/gitlab/usage_data_counters/known_events/.*.yml
test: ee/spec/config/metrics/every_metric_definition_spec.rb
+
+ # See https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/issues/146
+ - source: config/feature_categories.yml
+ test: spec/db/docs_spec.rb
+ - source: config/feature_categories.yml
+ test: ee/spec/lib/ee/gitlab/database/docs/docs_spec.rb
+
+ # See https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/1360
+ - source: vendor/project_templates/.*
+ test: spec/lib/gitlab/project_template_spec.rb
+
+ # See https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/1683#note_1385966977
+ - source: app/finders/members_finder.rb
+ test: spec/graphql/types/project_member_relation_enum_spec.rb
+ - source: app/finders/group_members_finder.rb
+ test: spec/graphql/types/group_member_relation_enum_spec.rb