You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A better way to configure this would be to allow the collection to specify a separate requirements file for test requirements.
Someone might also be interested in an ansible-builder option to produce an EE that includes test requirements. We would need to separate our exclude list into "always exclude" and "exclude for non-test".
If we have a "default" location of build-requirements.txt top-level in a collection, then test-requirements.txt seems like the obvious place for test requirements. Of course, we would need a way to give a special location with the meta/ EE metadata for collections.
Some versions of this pattern have already occurred in collections.
Lots of collections have pip requirements that are needed for testing but not for use. Probably most of them.
Right now we maintain the exclude list:
ansible-builder/ansible_builder/requirements.py
Lines 7 to 17 in e531baf
A better way to configure this would be to allow the collection to specify a separate requirements file for test requirements.
Someone might also be interested in an ansible-builder option to produce an EE that includes test requirements. We would need to separate our exclude list into "always exclude" and "exclude for non-test".
Ping @thedoubl3j
Very much related to #210, and we should think through a pattern that applies equally to both these topics.
The text was updated successfully, but these errors were encountered: