Skip to content

Add a way for some profiles to inherit others #387

@sunshowers

Description

@sunshowers

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions