nextest icon indicating copy to clipboard operation
nextest copied to clipboard

Add a way for some profiles to inherit others

Open sunshowers opened this issue 2 years ago • 0 comments

Cargo profiles have the inherits setting which lets some profiles inherit from others.

Nextest profiles should have the inherits setting as well. Steps to do:

  • Add "inherits" to the [profile] data model. Treat an unspecified "inherits" as inheriting from the default profile.
  • Check for cycles in the inherits graph (can use petgraph toposort for this, storing profile names in a GraphMap)
  • Implement support for inherits -- in NextestProfile, store a chain of profiles rather than just one profile + default.

This is a really good first issue and will probably involve 1-2 days of work including tests -- please comment here if you'd like to work on it!

sunshowers avatar Jul 22 '22 18:07 sunshowers