File tree Expand file tree Collapse file tree 8 files changed +187
-4
lines changed
Expand file tree Collapse file tree 8 files changed +187
-4
lines changed Original file line number Diff line number Diff line change 1010 check_links :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v5
13+ - uses : actions/checkout@v6
1414 - name : Restore lychee cache
1515 id : restore-cache
1616 uses : actions/cache/restore@v4
Original file line number Diff line number Diff line change 1515 name : Format
1616 runs-on : ubuntu-22.04
1717 steps :
18- - uses : actions/checkout@v5
18+ - uses : actions/checkout@v6
1919 - uses : actions/setup-python@v6
2020 with :
2121 python-version : 3.10.4
Original file line number Diff line number Diff line change 1+ name : Coverage Build
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+
7+ jobs :
8+ coverage :
9+ name : coverage build
10+ runs-on : ubuntu-22.04
11+ container :
12+ image : ubuntu:noble
13+ strategy :
14+ fail-fast : false
15+ env :
16+ ROS_DISTRO : rolling
17+ ros_version : 2
18+ steps :
19+ -
uses :
ros-tooling/[email protected] 20+ with :
21+ required-ros-distributions : ${{ env.ROS_DISTRO }}
22+ use-ros2-testing : true
23+ - uses : actions/checkout@v6
24+ -
uses :
ros-tooling/[email protected] 25+ with :
26+ target-ros2-distro : ${{ env.ROS_DISTRO }}
27+ # build all packages listed in the meta package
28+ package-name :
29+ ur_calibration
30+ ur_controllers
31+ ur_robot_driver
32+ colcon-defaults : |
33+ {
34+ "build": {
35+ "mixin": ["coverage-gcc", "coverage-pytest"]
36+ },
37+ "test": {
38+ "mixin": ["coverage-pytest"]
39+ }
40+ }
41+ colcon-mixin-repository : https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
42+ skip-tests : false
43+ - uses : codecov/codecov-action@v5
44+ with :
45+ fail_ci_if_error : true
46+ file : ros_ws/lcov/total_coverage.info
47+ flags : unittests
48+ name : codecov-umbrella
49+ token : ${{ secrets.CODECOV_TOKEN }}
50+ - uses : actions/upload-artifact@v5
51+ with :
52+ name : colcon-logs-${{ matrix.os }}
53+ path : ros_ws/log
Original file line number Diff line number Diff line change 1+ name : Foxy Binary Build
2+ on :
3+ schedule :
4+ # Run every morning to detect flakiness and broken dependencies
5+ - cron : ' 58 11 * * *'
6+
7+ jobs :
8+ foxy_binary :
9+ name : foxy binary build
10+ runs-on : ubuntu-latest
11+ strategy :
12+ max-parallel : 1
13+ matrix :
14+ env :
15+ - {ROS_DISTRO: foxy, ROS_REPO: main}
16+ - {ROS_DISTRO: foxy, ROS_REPO: testing}
17+ env :
18+ DOCKER_RUN_OPTS : --network static_test_net
19+ BEFORE_INIT : ' apt-get update -qq && apt-get install -y iproute2 iputils-ping && ip addr && ping -c5 192.168.56.101'
20+ IMMEDIATE_TEST_OUTPUT : true
21+ steps :
22+ - uses : actions/checkout@v6
23+ with :
24+ ref : foxy
25+ - name : start ursim
26+ run : |
27+ .github/dockerursim/build_and_run_docker_ursim.sh
28+ - uses : ' ros-industrial/industrial_ci@master'
29+ env : ${{matrix.env}}
Original file line number Diff line number Diff line change 1+ name : Galactic Binary Build
2+ on :
3+ schedule :
4+ # Run every morning to detect flakiness and broken dependencies
5+ - cron : ' 03 4 * * *'
6+
7+ jobs :
8+ galactic_binary :
9+ name : galactic binary build
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ ROS_DISTRO : [galactic]
15+ ROS_REPO : [main, testing]
16+ env :
17+ NOT_TEST_BUILD : true
18+ NOT_TEST_DOWNSTREAM : true
19+ steps :
20+ - uses : actions/checkout@v6
21+ with :
22+ ref : galactic
23+ - uses : ' ros-industrial/industrial_ci@master'
24+ env :
25+ ROS_DISTRO : ${{ matrix.ROS_DISTRO }}
26+ ROS_REPO : ${{ matrix.ROS_REPO }}
Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ jobs:
4646 steps :
4747 - name : Checkout ${{ github.ref_name }} since build is not scheduled
4848 if : ${{ github.event_name != 'schedule' }}
49- uses : actions/checkout@v5
49+ uses : actions/checkout@v6
5050 - name : Checkout ${{ inputs.ref_for_scheduled_build }} on scheduled build
5151 if : ${{ github.event_name == 'schedule' }}
52- uses : actions/checkout@v5
52+ uses : actions/checkout@v6
5353 with :
5454 ref : ${{ inputs.ref_for_scheduled_build }}
5555 - run : docker network create --subnet=192.168.56.0/24 ursim_net
Original file line number Diff line number Diff line change 1+ ---
2+ name : " Build documentation"
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ push :
7+ branches :
8+ - main
9+ schedule :
10+ - cron : ' 38 2 * * *'
11+
12+ jobs :
13+ docs :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ steps :
20+ - uses : actions/checkout@v6
21+ - uses : actions/setup-python@v6
22+ with :
23+ cache : ' pip'
24+ - name : Install dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install -r doc_requirements.txt
28+ - name : Build documentation
29+ run : |
30+ sphinx-build -W -b html ur_calibration/doc _doc_build && \
31+ sphinx-build -W -b html ur_controllers/doc _doc_build && \
32+ sphinx-build -W -b html ur_moveit_config/doc _doc_build && \
33+ sphinx-build -W -b html ur_robot_driver/doc _doc_build
Original file line number Diff line number Diff line change 1+ # Auto-update CI tools regularly
2+
3+ name : CI auto-update
4+
5+ on :
6+ schedule :
7+ # Run weekly
8+ - cron : ' 23 5 * * 0'
9+ workflow_dispatch :
10+
11+ jobs :
12+ ci_auto_update :
13+ name : CI auto-update
14+ runs-on : ubuntu-latest
15+ steps :
16+ # Setup pre-commit
17+ - uses : actions/checkout@v6
18+ - uses : actions/setup-python@v6
19+ with :
20+ python-version : 3.10.4
21+ - name : Install pre-commit
22+ run : pip install pre-commit
23+
24+ # Run update
25+ - name : Run pre-commit autoupdate
26+ run : pre-commit autoupdate
27+
28+ # Create pull request
29+ - name : Create pull-request
30+ id : cpr
31+ uses : peter-evans/create-pull-request@v7
32+ with :
33+ branch : update-ci/pre-commit-autoupdate
34+ delete-branch : true
35+ title : Auto-update pre-commit hooks
36+ committer : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
37+ author : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
38+ commit-message : Auto-update pre-commit hooks
39+ labels : CI
40+ - name : Check outputs
41+ if : ${{ steps.cpr.pull-request-number }}
42+ run : echo "Opened pull request ${{ steps.cpr.outputs.pull-request-number }} - ${{ steps.cpr.outputs.pull-request-url }}"
You can’t perform that action at this time.
0 commit comments