Skip to content

Commit

Permalink
Ignore ROS2 pytest plugin pollution in CI
Browse files Browse the repository at this point in the history
evo is not a ROS package, so we don't need any of this since we're
independent thanks to the rosbags library.
  • Loading branch information
MichaelGrupp committed Mar 21, 2024
1 parent b46e4f7 commit 134e696
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.ros-iron
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ RUN evo_config show --brief --no_color

# Run tests.
RUN pip3 install pytest --upgrade
# ROS2 globally registers pytest plugins for ament, launch_testing and other crap.
# Don't load them because they can be not compatible with recent pytest versions.
# https://github.com/ros2/launch/issues/765
ENV PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
RUN /container-local/.ci/ros_run_tests.sh /container-local

0 comments on commit 134e696

Please sign in to comment.