Run markdown_snapshot_spec.rb when needed
What does this MR do and why?
Related: Tracking Issue: Implement GLFM scripts per the ... (#361241 - closed)
Implements suggestion from !102244 (comment 1152819487) to ensure
spec/requests/api/markdown_snapshot_spec.rb
and ee/spec/requests/api/markdown_snapshot_spec.rb
run when GLFM config files are changed.
References
See the GLFM Specification Guide development documentation for much more context on all of this work: https://docs.gitlab.com/ee/development/gitlab_flavored_markdown/specification_guide
Testing
Run tooling/bin/find_tests
with appropriate input file parameter containing a GLFM config file, and ensure that both specs get properly identified in the output file.
tooling/bin/find_tests /tmp/changed.txt /tmp/matching.txt
Example:
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.