[humble] Make snapshot writing into a new file each time it is triggered (backport #1842) #4357
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
# Run linters automatically on pull requests. | |
name: Lint rosbag2 | |
on: | |
pull_request: | |
jobs: | |
ament_lint_general: # tests applicable to all packages | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [copyright, xmllint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: ${{ matrix.linter }} | |
distribution: rolling | |
package-name: | | |
ros2bag | |
rosbag2 | |
rosbag2_compression | |
rosbag2_compression_zstd | |
rosbag2_cpp | |
rosbag2_interfaces | |
rosbag2_py | |
rosbag2_storage | |
rosbag2_storage_default_plugins | |
rosbag2_test_common | |
rosbag2_tests | |
rosbag2_transport | |
shared_queues_vendor | |
ament_lint_cpp: # Linters applicable to C++ packages | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [cppcheck, cpplint, uncrustify] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: ${{ matrix.linter }} | |
distribution: rolling | |
package-name: | | |
rosbag2_compression | |
rosbag2_compression_zstd | |
rosbag2_cpp | |
rosbag2_py | |
rosbag2_storage | |
rosbag2_storage_default_plugins | |
rosbag2_test_common | |
rosbag2_tests | |
rosbag2_transport | |
shared_queues_vendor | |
ament_lint_clang_format: # Linters applicable to C++ packages formatted with clang-format | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [cppcheck, cpplint, clang_format] | |
include: | |
- linter: clang_format | |
arguments: "--config rosbag2_storage_mcap/.clang-format" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: ${{ matrix.linter }} | |
arguments: ${{ matrix.arguments }} | |
distribution: rolling | |
package-name: rosbag2_storage_mcap | |
ament_lint_python: # Linters applicable to Python packages | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [pep257, flake8] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: ${{ matrix.linter }} | |
distribution: rolling | |
package-name: | | |
ros2bag | |
rosbag2_py |