Hochfrequenz / mig_ahb_utility_stack

MIG AHB Utility Stack (MAUS): A Script to Match the Message Implementation Guide (MIG) with the Anwendungshandbuch (AHB)
MIT License
2 stars 0 forks source link

Package upload (v0.1.14) fails because of unresolved dependencies in private submodule helper script #117

Closed hf-kklein closed 2 years ago

hf-kklein commented 2 years ago

type_check run-test: commands[2] | mypy --show-error-codes tests/integration_tests tests/integration_tests/edifact-templates/extract_all_conditions_from_ahbs.py:10: error: Cannot find implementation or library stub for module named "ahbicht.mapping_results" [import] tests/integration_tests/edifact-templates/extract_all_conditions_from_ahbs.py:10: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports Found 1 error in 1 file (checked 16 source files) ERROR: InvocationError for command /home/runner/work/mig_ahb_utility_stack/mig_ahb_utility_stack/.tox/type_check/bin/mypy --show-error-codes tests/integration_tests (exited with code 1) ___ summary ____ unit_tests: commands succeeded integration_tests: commands succeeded linting: commands succeeded coverage: commands succeeded ERROR: type_check: commands failed

I don't get it. Why does the usual CI just pass but the upload behaves differently? There are in fact unresolved (ahbicht) dependencies in the script mentioned above but they shouldn't let the package build fail.

https://github.com/Hochfrequenz/mig_ahb_utility_stack/runs/6796916740?check_suite_focus=true#step:5:175

hf-kklein commented 2 years ago

fixed with #118 and #119