Skip to content

Commit

Permalink
add lib-type-completeness CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ottojo committed Aug 31, 2023
1 parent ea9bfd4 commit a36415b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,38 @@ jobs:
. ./install/setup.sh
cd ros2/orchestrator
FORCE_COLOR=3 pyright
lib-type-completeness:
runs-on: ubuntu-22.04
container: ros:iron
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
path: ros2_def
# TODO: Remove this once the ROS release contains 760e2193288af5c4e5948725bf0def1e18fe8b80
- name: Check out launch_ros
uses: actions/checkout@v3
with:
repository: ros2/launch_ros
ref: rolling
path: launch_ros
- name: Install dependencies
run: |
. /opt/ros/$ROS_DISTRO/setup.sh
cd $GITHUB_WORKSPACE
apt update
rosdep update
rosdep install --from-paths ros2_def/ros2 --ignore-packages-from-source --verbose --default-yes --skip-keys="aduulm_cmake_tools aduulm_messages"
pip install --upgrade pyright
- name: Build orchestrator
run: |
. /opt/ros/$ROS_DISTRO/setup.sh
cd $GITHUB_WORKSPACE
colcon build --packages-up-to orchestrator
- name: Run pyright
run: |
. /opt/ros/$ROS_DISTRO/setup.sh
cd $GITHUB_WORKSPACE
. ./install/setup.sh
FORCE_COLOR=3 pyright --ignoreexternal --verifytypes orchestrator
1 change: 1 addition & 0 deletions ros2/orchestrator/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<depend>python3-deepdiff</depend>
<depend>python3-networkx</depend>
<depend>python-jsonschema-pip</depend>
<depend>launch_ros</depend>

<test_depend>python3-pytest</test_depend>

Expand Down

0 comments on commit a36415b

Please sign in to comment.