Guard condition to check node clock is not zero, to suppress "No clock received" error from ros2_control. #3713
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: ROS2 tests | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
schedule: | |
- cron: '0 02 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
industrial_ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
ROS_REPO: [main, testing] | |
ROS_DISTRO: [humble, jazzy, rolling] | |
runs-on: ubuntu-latest | |
env: | |
AFTER_INIT: ./scripts/ci_after_init.bash ${ROS_DISTRO} ${ROS_REPO} | |
BEFORE_INIT_EMBED: source scripts/ci_before_init_embed.bash ${ROS_DISTRO} | |
DOCKER_RUN_OPTS: -v /artifacts:/tmp/artifacts | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_REPO: ${{matrix.ROS_REPO}} | |
ROS_DISTRO: ${{matrix.ROS_DISTRO}} | |
- name: Upload Artifact | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: generic_artifacts_${{matrix.ROS_REPO}}_${{matrix.ROS_DISTRO}} | |
path: /artifacts | |
retention-days: 5 |