Draft: Add static mapping for graphQL types specs
Draft
to Ready
From -
Update description with results from the latest pipeline (to see if the correct specs have been run in minimal
jobs) -
Drop commit 4eea7a69
What does this MR do and why?
Closes #386756 (closed)
Whenever we change a file in app/graphql/types or ee/app/graphql/types, we trigger all the specs in spec/graphql/types
or ee/spec/graphql/types
respectively.
Does it work?
- Added a dummy change in
app/graphql/types/notes/noteable_interface.rb
andee/app/graphql/types/epic_type.rb
to test both mappings (see commit) -
detect-tests
job (https://gitlab.com/gitlab-org/gitlab/-/jobs/3531224867) containsspec/graphql/types
andee/spec/graphql/types
. The first one is listed in both asRelated RSpec tests
/Related FOSS RSpec tests
, whereas the second one is only listed inRelated RSpec tests
as one would expect.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by David Dieulivol