For example, in the case below both do_stuff.py and test_do_stuff.py have a dependency on do_stuff_msgs.msg.Stuff, leading to a test failure.
ModuleNotFoundError: No module named 'do_stuff_msgs'
Locally, I can resolve this by sourcing install/setup.bash before running colcon test, but I'm not sure how to do this with the industrial_ci. I have tried sourcing in BEFORE_RUN_TARGET_TESTand BEFORE_RUN_TARGET_TEST_EMBED, but that led to other errors.
For example, in the case below both
do_stuff.py
andtest_do_stuff.py
have a dependency ondo_stuff_msgs.msg.Stuff
, leading to a test failure.ModuleNotFoundError: No module named 'do_stuff_msgs'
Locally, I can resolve this by sourcing
install/setup.bash
before runningcolcon test
, but I'm not sure how to do this with the industrial_ci. I have tried sourcing inBEFORE_RUN_TARGET_TEST
andBEFORE_RUN_TARGET_TEST_EMBED
, but that led to other errors.I would appreciate any help.