Skip to content

Commit 807118f

Browse files
committed
ci: update workflows
1 parent ac86575 commit 807118f

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/poetry-test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ jobs:
4949
run: |
5050
rosdep update
5151
52+
- name: Import ros2 dependencies
53+
shell: bash
54+
run: |
55+
vcs import . < ros_deps.repos
56+
5257
- name: Install ROS 2 package dependencies
5358
shell: bash
5459
run: |

.github/workflows/pre-commit.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,30 @@ on:
99

1010
jobs:
1111
pre-commit:
12-
runs-on: ubuntu-24.04
12+
runs-on:
13+
- self-hosted
14+
15+
container:
16+
image: osrf/ros:humble-desktop-full
1317

1418
steps:
19+
- name: Install pre-commit
20+
run: |
21+
apt update && apt install -y python3-pip shellcheck python-is-python3
22+
1523
- name: Checkout code
1624
uses: actions/checkout@v4
1725
with:
1826
fetch-depth: 0
1927

28+
- run: |
29+
git config --global --add safe.directory /__w/rai/rai
30+
31+
- name: Import ros2 dependencies
32+
shell: bash
33+
run: |
34+
vcs import . < ros_deps.repos
35+
2036
- name: Run pre-commit
2137
uses: pre-commit/[email protected]
2238
with:

0 commit comments

Comments
 (0)