summaryrefslogtreecommitdiff
path: root/tests.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests.yml')
-rw-r--r--tests.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests.yml b/tests.yml
index be6cb2c84c7..4526c9cf1f5 100644
--- a/tests.yml
+++ b/tests.yml
@@ -92,3 +92,13 @@ mapping:
test: spec/requests/api/markdown_snapshot_spec.rb
- source: glfm_specification/.+
test: ee/spec/requests/api/markdown_snapshot_spec.rb
+
+ # Any change to metrics definition should trigger the specs in the ee/spec/config/metrics/ folder.
+ #
+ # Note: We only have those tests for ee, even though we have non-ee metrics.
+ #
+ # See https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/287#note_1192008962
+ - source: ee/config/metrics/.*.yml
+ 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