-
-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parametrize: expand grouped parametrizations. (#21027)
This adds support for having parametrized fields within a parametrize group. Example: ```python __defaults__({ (python_sources, python_tests): dict( **parametrize( "py310-compat", resolve="service-a", interpreter_constraints=[ "CPython == 3.9.*", "CPython == 3.10.*", ] ), **parametrize( "py39-compat", resolve=parametrize( "service-b", "service-c", "service-d", ), interpreter_constraints=[ "CPython == 3.9.*", ] ) ) }) ``` ## Notice Parametrize groups does not work well with defaults for `all`, as the parametrized fields will be added to all targets and will result in errors unless it's a field that all targets support.
- Loading branch information
Showing
10 changed files
with
229 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.