Skip to content

ci: add mkdocs-build job #1

ci: add mkdocs-build job

ci: add mkdocs-build job #1

Workflow file for this run

name: build and test
on:
pull_request:
types: [opened, synchronize, reopened, edited, ready_for_review]
branches:
- development
- main
jobs:
build-and-test-ros2:
if: github.event.pull_request.draft == false
runs-on:
- self-hosted
- ${{ matrix.ros_distro }}
continue-on-error: true
strategy:
matrix:
ros_distro:
- jazzy
- humble
container:
image: osrf/ros:${{ matrix.ros_distro }}-desktop-full
steps:
- uses: actions/checkout@v4
with:
clean: true
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 2.1.1
- name: Install python dependencies
run: poetry install --with docs
- name: Build docs
shell: bash
run: |
poetry run mkdocs build --strict