💚 small change to provoke CI #18
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: Headless Simulation Test | |
| on: | |
| push: | |
| branches: [ main, docker ] | |
| workflow_dispatch: | |
| jobs: | |
| test-headless-simulation: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build Docker image | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| push: false | |
| load: true | |
| tags: rumarino-headless:latest | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Run headless simulation test | |
| run: | | |
| docker run --rm \ | |
| --name headless-test \ | |
| rumarino-headless:latest \ | |
| bash -c " | |
| source /opt/ros/jazzy/setup.bash && \ | |
| source /ros2_ws/install/setup.bash && \ | |
| ros2 launch bringup test_mission_executor_headless.launch.py \ | |
| mission_name:=prequalify \ | |
| env_file_name:=hydrus_env_headless.scn & | |
| LAUNCH_PID=\$! && \ | |
| sleep 15 && \ | |
| kill \$LAUNCH_PID 2>/dev/null || true | |
| " |