irods / irods_rule_engine_plugin_python

BSD 3-Clause "New" or "Revised" License
10 stars 14 forks source link

Test hook does not filter package files #221

Closed SwooshyCueb closed 3 months ago

SwooshyCueb commented 3 months ago

At present, the test hook attempts to install all the files and directories in the packages directory as if they were package files: https://github.com/irods/irods_rule_engine_plugin_python/blob/4be435b02b4db70a684fd3ebc7450c58a262af47/irods_consortium_continuous_integration_test_hook.py#L25 This causes failures when directories, non-package files, or conflicting packages exist in the packages directory.

Here's an example of how a sister project filters down to just its own packages: https://github.com/irods/irods_microservice_plugins_curl/blob/3e24cfc0b32ae10f2ed12f286adc7b91cb15a524/irods_consortium_continuous_integration_test_hook.py#L26-L30