Skip to content

Setting required-ros-distributions #637

Setting required-ros-distributions

Setting required-ros-distributions #637

Workflow file for this run

name: Test diagnostics
on:
pull_request:
push:
branches:
- ros2-jazzy
schedule:
# Run every week at 20:00 on Sunday
- cron: "0 20 * * 0"
jobs:
build_and_test:
name: ${{ matrix.package }} on ${{ matrix.distro }}
strategy:
fail-fast: false
matrix:
package: [
diagnostic_aggregator,
diagnostic_common_diagnostics,
diagnostic_updater,
self_test,
]
include:
- distro: jazzy
os: ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- uses: ros-tooling/setup-ros@master
with:
required-ros-distributions: ${{ matrix.distro }}
# - run: |
# sudo pip install pydocstyle==6.1.1 # downgrade to fix https://github.com/ament/ament_lint/pull/428
# sudo pip install pip --upgrade
# sudo pip install pyopenssl --upgrade # fix for AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
- uses: ros-tooling/action-ros-ci@master
with:
target-ros2-distro: ${{ matrix.distro }}
package-name: ${{ matrix.package }}
# vcs-repo-file-url: |
# https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos