Add enable_logger_service option for runtime log level control (#1522) #261
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: ASan | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| asan: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ubuntu:noble | |
| steps: | |
| - name: Setup Node.js 24.X | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.X | |
| architecture: x64 | |
| - name: Setup ROS2 Jazzy | |
| uses: ros-tooling/setup-ros@v0.7 | |
| with: | |
| required-ros-distributions: jazzy | |
| - name: Install test dependencies | |
| run: | | |
| sudo apt install -y ros-jazzy-test-msgs ros-jazzy-mrpt-msgs | |
| - uses: actions/checkout@v6 | |
| - name: Install npm dependencies | |
| run: | | |
| source /opt/ros/jazzy/setup.bash | |
| npm i | |
| # Wrap the asan test step in nick-fields/retry@v4 to absorb transient | |
| # flakes. ASan can be sensitive to timing-related test races; keep | |
| # max_attempts low so real regressions still surface quickly. | |
| - name: Build and test with AddressSanitizer | |
| uses: nick-fields/retry@v4 | |
| with: | |
| shell: bash | |
| max_attempts: 2 | |
| retry_wait_seconds: 10 | |
| timeout_minutes: 60 | |
| command: | | |
| source /opt/ros/jazzy/setup.bash | |
| npm run test:asan |