Expose the validate_motion function and the robot’s lower and upper bounds to Python. #192
This file contains hidden or 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: Format Check | |
| on: | |
| push: | |
| paths: | |
| - src/** | |
| - scripts/** | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - src/** | |
| - scripts/** | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| formatting-check: | |
| name: Formatting Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install packages | |
| run: | | |
| wget https://apt.llvm.org/llvm.sh | |
| chmod +x llvm.sh | |
| yes | sudo ./llvm.sh 20 || true | |
| sudo apt-get install -y clang-format-20 python3-pip | |
| pip install yapf | |
| - name: Run clang-format style check. | |
| run: > | |
| find . -iname *.hh -o -iname *.cc | xargs -I{} clang-format-20 --dry-run -Werror {} | |
| - name: Run yapf style check. | |
| run: > | |
| find . -iname *.py | xargs -I{} yapf -d {} |