Skip to content

Commit 0e0c1e5

Browse files
committed
ci: add interop test
1 parent f19d44e commit 0e0c1e5

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
interop_test:
11+
name: Interop tests with ROS 2 Jazzy
12+
runs-on: ubuntu-latest
13+
container:
14+
image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
15+
steps:
16+
- name: Install Node.js
17+
run: apt-get update && apt-get install -y nodejs
18+
- name: ROS dependencies
19+
run: apt-get install -y ros-jazzy-example-interfaces
20+
- uses: actions/checkout@v4
21+
- uses: actions-rust-lang/setup-rust-toolchain@v1
22+
- name: Run ROS tests
23+
shell: bash
24+
# Note that we limit only one test item tested at the same time to avoid the confliction between bridges
25+
run: "source /opt/ros/jazzy/setup.bash && cd ros-z && cargo test --all-features --verbose"

0 commit comments

Comments
 (0)