Skip to content

clearpath_config: 1.0.0-1 in 'humble/distribution.yaml' [bloom] (#43687) #40939

clearpath_config: 1.0.0-1 in 'humble/distribution.yaml' [bloom] (#43687)

clearpath_config: 1.0.0-1 in 'humble/distribution.yaml' [bloom] (#43687) #40939

Workflow file for this run

---
name: Validate rosdistro
# this is fine since gha runs with yaml 1.2
on: # yamllint disable-line rule:truthy
push:
branches: ['master']
pull_request:
permissions:
contents: read
jobs:
checks:
name: rosdistro / rosdep checks
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Fetch upstream (to enable diff)
run: |
git remote add unittest_upstream_comparison https://github.com/ros/rosdistro.git \
|| git remote set-url unittest_upstream_comparison https://github.com/ros/rosdistro.git
git fetch --no-tags --depth=1 unittest_upstream_comparison master
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r test/requirements.txt
- name: Run Tests
run: pytest -s test
yamllint:
name: Yaml Linting
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install yamllint
- name: Run yamllint
run: yamllint .