Skip to content

Commit

Permalink
feat: colcon test with cloning above dependency packages
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 committed Jan 8, 2025
1 parent b4b4db9 commit d34cf95
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions colcon-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inputs:
build-depends-repos:
description: ""
required: false
packages-above-repos:
description: ""
required: false
token:
description: ""
required: false
Expand Down Expand Up @@ -61,6 +64,13 @@ runs:
vcs import dependency_ws < ${{ inputs.build-depends-repos }}
shell: bash

- name: Clone above dependency packages
if: ${{ inputs.packages-above-repos != '' }}
run: |
mkdir -p dependency_ws
vcs import dependency_ws < ${{ inputs.packages-above-repos }}
shell: bash

- name: Run rosdep install
run: |
package_paths=$(colcon list -p --packages-above-and-dependencies ${{ inputs.target-packages }} --base-paths . dependency_ws)
Expand Down

0 comments on commit d34cf95

Please sign in to comment.