wolflu05 / inventree-bulk-plugin

A bulk creation plugin for InvenTree, which helps you generating locations, categories and even parts in bulk by using customized naming strategies and ensure them along your complete storage tree.
MIT License
17 stars 1 forks source link

Fix ci to work with the latest stable release (>=0.15.x) #77

Closed wolflu05 closed 4 months ago

wolflu05 commented 4 months ago

Since v0.15 the codebase was restructured, therefore I needed to handle integrations tests a bit different for the old stable version (0.14.x), but since the restructure was now released by 0.15.x which now got the stable version, these hacks can be removed now and stable and latest should now behave the same.

github-actions[bot] commented 4 months ago

Coverage Report

Code Coverage Name Stmts Miss Cover Missing
inventree_bulk_plugin/BulkGenerator/BulkGenerator.py 167 0 100%
inventree_bulk_plugin/BulkGenerator/dimensions.py 66 0 100%
inventree_bulk_plugin/BulkGenerator/generators/gen_alpha.py 36 0 100%
inventree_bulk_plugin/BulkGenerator/generators/gen_numeric.py 14 0 100%
inventree_bulk_plugin/BulkGenerator/generators/generator.py 33 0 100%
inventree_bulk_plugin/BulkGenerator/template.py 29 0 100%
inventree_bulk_plugin/BulkGenerator/utils.py 19 0 100%
inventree_bulk_plugin/BulkGenerator/validations.py 54 0 100%
inventree_bulk_plugin/InvenTreeBulkPlugin.py 47 0 100%
inventree_bulk_plugin/api.py 69 0 100%
inventree_bulk_plugin/bulkcreate_objects.py 319 0 100%
inventree_bulk_plugin/migrations/0001_initial.py 6 0 100%
inventree_bulk_plugin/models.py 21 0 100%
inventree_bulk_plugin/serializers.py 53 0 100%
inventree_bulk_plugin/version.py 1 0 100%
TOTAL 934 0 100%