WIP: Migrate grbl_ros to use pydantic #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS2 CI | |
on: | |
pull_request: | |
branches: | |
- 'devel' | |
- 'main' | |
jobs: | |
test_environment: | |
runs-on: [ubuntu-latest] | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distribution: | |
- foxy | |
- humble | |
- rolling | |
include: | |
# Foxy Fitzroy (June 2020 - May 2023) | |
- docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-foxy-ros-base-latest | |
ros_distribution: foxy | |
ros_version: 2 | |
# Humble Hawksbill (May 2022 - 2027 | |
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest | |
ros_distribution: humble | |
ros_version: 2 | |
# Rolling Ridley (June 2020 - Present) | |
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest | |
ros_distribution: rolling | |
ros_version: 2 | |
container: | |
image: ${{ matrix.docker_image }} | |
steps: | |
- name: setup directories | |
run: mkdir -p ros_ws/src/grbl_ros | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
path: ros_ws/src/grbl_ros | |
- name: install dependencies | |
run: "pip3 install -r ros_ws/src/grbl_ros/requirements.txt" | |
- name: build and test | |
uses: ros-tooling/action-ros-ci@master | |
with: | |
package-name: grbl_ros | |
target-ros2-distro: ${{ matrix.ros_distribution }} | |
vcs-repo-file-url: "" |