Add workflow timeout #38
This file contains 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: Ubuntu 24.04 Rolling Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- iron | |
jobs: | |
Build: | |
timeout-minutes: 10 | |
runs-on: self-hosted | |
container: | |
image: osrf/ros:rolling-desktop-full | |
steps: | |
- name: Update | |
timeout-minutes: 2 | |
run: apt-get update | |
- name: Install PIP | |
run: apt-get install -y python3-pip lcov python3-colcon-lcov-result python3-colcon-coveragepy-result | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Tests | |
uses: ros-tooling/[email protected] | |
with: | |
target-ros2-distro: rolling | |
import-token: ${{ secrets.GITHUB_TOKEN }} | |
vcs-repo-file-url: "${{ github.workspace }}/iron.repos" | |
- name: Upload Logs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: colcon-logs | |
path: ros_ws/log | |
if: failure() |