From 5fe15b90fd740ede10f36ebbbdee10ea79fce64e Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin <jen-shin@gitlab.com> Date: Wed, 27 Jul 2022 02:44:50 +0800 Subject: [PATCH] Also test usage_data_spec.rb if counters changed --- tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests.yml b/tests.yml index 5fb0abe20b039..3b1ac26a19560 100644 --- a/tests.yml +++ b/tests.yml @@ -19,6 +19,10 @@ mapping: - source: ee/lib/(.+)\.rb test: ee/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 + # FOSS lib & tooling should map to respective spec - source: (tooling/)?lib/(.+)\.rb test: spec/%slib/%s_spec.rb -- GitLab