feat(turtlebot3): Complete demo with manifest discovery, fault management and GUI as default #29
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check for trailing whitespace | |
| run: | | |
| ! git grep -I --line-number --perl-regexp '\s+$' -- \ | |
| '*.md' '*.py' '*.yaml' '*.yml' || \ | |
| (echo "Found trailing whitespace in the files above" && exit 1) | |
| - name: Check shell scripts with shellcheck | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y shellcheck | |
| find . \( -name "*.sh" -o -name "*.bash" \) -type f | xargs shellcheck | |
| - name: Validate YAML files | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y yamllint | |
| YAMLLINT_CONFIG="{extends: relaxed, rules: {line-length: {max: 120}}}" | |
| find . \( -name "*.yaml" -o -name "*.yml" \) -type f | xargs yamllint -d "$YAMLLINT_CONFIG" | |
| docker-build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build Sensor Diagnostics demo image | |
| run: | | |
| cd demos/sensor_diagnostics | |
| docker build -t sensor-diagnostics-demo:test -f Dockerfile . | |
| - name: Build TurtleBot3 demo image | |
| run: | | |
| cd demos/turtlebot3_integration | |
| docker build -t turtlebot3-medkit-demo:test -f Dockerfile . |