Add CI and format code #2
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: Build and Test | |
on: | |
push: | |
branches: [ humble ] | |
pull_request: | |
branches: [ humble ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-desktop-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Pre install | |
run: | | |
/usr/bin/bash -c "apt-get update && apt-get install -y libunwind-dev libceres-dev" | |
- name: Build | |
uses: ros-tooling/[email protected] | |
with: | |
target-ros2-distro: humble | |
skip-tests: true | |
- name: Remove flake8-quotes for linter | |
run: pip3 uninstall -y flake8-quotes | |
- name: Test calibration_interfaces | |
run: | | |
/usr/bin/bash .github/workflows/colcon_test.sh calibration_interfaces | |
- name: Test calibration_common | |
run: | | |
/usr/bin/bash .github/workflows/colcon_test.sh calibration_common | |
- name: Test camera_intrinsic_calibration | |
run: | | |
/usr/bin/bash .github/workflows/colcon_test.sh camera_intrinsic_calibration |