add: github actions for build and test ros2 integration
This commit is contained in:
parent
b0cd92310a
commit
7195ea0a7f
1 changed files with 25 additions and 0 deletions
25
.github/workflows/ros2.yml
vendored
Normal file
25
.github/workflows/ros2.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: ROS 2 workspace
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 0"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-in-devcontainer:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Build and test ROS 2 workspace
|
||||||
|
uses: devcontainers/ci@v0.3
|
||||||
|
with:
|
||||||
|
subFolder: ./ros2
|
||||||
|
runCmd: |
|
||||||
|
colcon build
|
||||||
|
colcon test
|
||||||
|
colcon test-result --verbose
|
Loading…
Add table
Add a link
Reference in a new issue