-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add system test to github workflow for all distributions. #32
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,12 @@ | |
|
||
from launch import LaunchDescription | ||
from launch.substitutions import EnvironmentVariable | ||
import launch_ros.actions | ||
import launch | ||
import os | ||
import sys | ||
import pathlib | ||
|
||
def generate_launch_description(): | ||
return LaunchDescription([ | ||
launch.actions.ExecuteProcess( | ||
cmd = ['ros2', 'run', 'parameter_server', 'server', '--file-path', '/tmp/test/parameter_server.yaml'], | ||
respawn=True | ||
), | ||
launch.actions.ExecuteProcess( | ||
cmd = ['ros2', 'run', 'ros2_persistent_parameter_server_test', 'client'] | ||
Comment on lines
-31
to
-32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. since i am not sure how to get the return code from this specific command via launch action, remove this test command from here. instead, having it in the python script to call the command via subprocess to check the return code to tell the test is failed or not to github workflow. |
||
) | ||
]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unit tests for parameter server interfaces and APIs, handled with #18