-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C: maintenanceRelated to project maintenance, e.g. CI, testing, policy changes, releasesRelated to project maintenance, e.g. CI, testing, policy changes, releasesT: enhancementNew feature or requestNew feature or request
Description
Hi 👋
Is your feature request related to a problem? Please describe.
# TODO: Offer more options here
# e.g. Run on X random packages etc.
is written that adding more options to black-primer so that only a part of all the projects in config could be used should be done.
Describe the solution you'd like
Add an option --random-packages-count N
, N being an int
.
Then, only run the tests on N of the packages in primer.json
.
If N is greater than the count of packages in primer.json
, every package should be used.
Additional context
I'd be happy to submit a PR to implement this!
Metadata
Metadata
Assignees
Labels
C: maintenanceRelated to project maintenance, e.g. CI, testing, policy changes, releasesRelated to project maintenance, e.g. CI, testing, policy changes, releasesT: enhancementNew feature or requestNew feature or request