Support ROS Iron #18
Workflow file for this run
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: style | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
docker_image: ['ros:iron-ros-base'] | |
container: | |
image: ${{ matrix.docker_image }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: uncrustify | |
run: | | |
sudo apt update && sudo apt install -y ros-iron-rmf-utils | |
/ros_entrypoint.sh ament_uncrustify -c /opt/ros/iron/share/rmf_utils/rmf_code_style.cfg . --language C++ --exclude nexus_endpoints/nexus_endpoints.hpp | |
- name: pycodestyle | |
run: | | |
sudo apt update && sudo apt install -y pycodestyle curl | |
pycodestyle nexus_network_configuration/ |