-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
cacheprovider: --lf file-skipping feature doesn't work for files in packages #11054
Copy link
Copy link
Labels
plugin: cacherelated to the cache builtin pluginrelated to the cache builtin plugintopic: collectionrelated to the collection phaserelated to the collection phasetype: bugproblem that needs to be addressedproblem that needs to be addressed
Description
--lf has a feature where if a certain Module (python file) does not contain any failed tests, it is skipped entirely at the collector level instead of being collected and each item skipped individually. When this happens the collection summary looks like this:
run-last-failure: rerun previous 1 failure (skipped 1 file)
However, this feature doesn't work for Modules inside of Packages, only for those directly beneath the Session.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
plugin: cacherelated to the cache builtin pluginrelated to the cache builtin plugintopic: collectionrelated to the collection phaserelated to the collection phasetype: bugproblem that needs to be addressedproblem that needs to be addressed