Skip to content

Commit a80bd29

Browse files
iox-#2099 Update integration tests script
Signed-off-by: Simon Hoinkis <[email protected]>
1 parent 795727c commit a80bd29

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Setup ROS
6868
uses: ros-tooling/[email protected]
6969
with:
70-
required-ros-distributions: iron
70+
required-ros-distributions: humble
7171
- uses: actions/checkout@v2
7272
- run: ./tools/ci/run-integration-test.sh
7373

tools/ci/run-integration-test.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2021 by Apex.AI Inc. All rights reserved.
2+
# Copyright (c) 2021 - 2023 by Apex.AI Inc. All rights reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -29,18 +29,18 @@ cd "${WORKSPACE}"
2929
msg "installing dependencies"
3030
# NOTE: github action ros-tooling/[email protected] should be run before
3131
sudo apt install -y apt-transport-https
32-
sudo apt update && sudo apt install -y cmake libacl1-dev libncurses5-dev pkg-config ros-foxy-ros-testing
32+
sudo apt update && sudo apt install -y cmake libacl1-dev libncurses5-dev pkg-config ros-humble-ros-testing
3333

3434
msg "sourcing ROS workspace"
3535
# shellcheck source=/dev/null
36-
source /opt/ros/foxy/setup.bash
36+
source /opt/ros/humble/setup.bash
3737

3838
msg "checking copyrights"
39-
sudo rm -rf /opt/ros/foxy/lib/python3.8/site-packages/ament_copyright/template/apache2_header.txt
40-
sudo cp -rf tools/apache2_header.txt /opt/ros/foxy/lib/python3.8/site-packages/ament_copyright/template/.
39+
sudo rm -rf /opt/ros/humble/lib/python3.10/site-packages/ament_copyright/template/apache2_header.txt
40+
sudo cp -rf tools/apache2_header.txt /opt/ros/humble/lib/python3.10/site-packages/ament_copyright/template/.
4141
# shellcheck disable=SC2026
42-
sudo sed -i '41 c\"'c'", "'cc'", "'cpp'", "'cxx'", "'h'", "'hh'", "'hpp'", "'hxx'", "'inl'", "'sh'"' /opt/ros/foxy/lib/python3.8/site-packages/ament_copyright/main.py
43-
ament_copyright --exclude LICENSE CONTRIBUTING.md tools/apache2_header.txt
42+
sudo sed -i '41 c\"'c'", "'cc'", "'cpp'", "'cxx'", "'h'", "'hh'", "'hpp'", "'hxx'", "'inl'", "'sh'"' /opt/ros/humble/lib/python3.10/site-packages/ament_copyright/main.py
43+
ament_copyright ./**/* tools/apache2_header.txt
4444

4545
msg "compiler versions:
4646
$(gcc --version)

0 commit comments

Comments
 (0)