Skip to content

Commit

Permalink
test(colcon): configure our pkgs to use pytest
Browse files Browse the repository at this point in the history
to ensure that the CI `colcon test` run works, because with a change to
python 3.12 the `unittest` standard library used by default with colcon
now exits with an error code of 5 for an empty test suite.

See: colcon/colcon-core#678
See: python/cpython#102051
  • Loading branch information
texhnolyze committed Dec 16, 2024
1 parent f9715cd commit d42a46a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dynamic_stack_decider/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<depend>rclpy</depend>
<depend>std_msgs</depend>
<depend>python3-yaml</depend>
<test_depend>python3-pytest</test_depend>
<test_depend>python3-coverage</test_depend>

<export>
Expand Down
1 change: 1 addition & 0 deletions dynamic_stack_decider_visualization/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

<depend>python3-pydot</depend>

<test_depend>python3-pytest</test_depend>

<export>
<architecture_independent/>
Expand Down
1 change: 1 addition & 0 deletions dynamic_stack_decider_visualization/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
("share/" + package_name, ["plugin.xml"]),
],
install_requires=["setuptools"],
tests_require=["pytest"],
zip_safe=True,
entry_points={
"console_scripts": [
Expand Down

0 comments on commit d42a46a

Please sign in to comment.