File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 4646 credentials :
4747 username : ${{ secrets.DOCKERHUB_USERNAME }}
4848 password : ${{ secrets.DOCKERHUB_TOKEN }}
49-
49+
5050 strategy :
5151 fail-fast : false
5252 matrix :
6262 ubuntu_distro : noble
6363 - ros_distro : rolling
6464 ubuntu_distro : noble
65-
65+
6666 steps :
6767 - name : Checkout code
6868 uses : actions/checkout@v4
7272 chmod +x scripts/build_debian_packages.sh
7373 ./scripts/build_debian_packages.sh ${{ matrix.ros_distro }} ${{ matrix.ubuntu_distro }}
7474 shell : bash
75-
75+
7676 - name : Upload Debian packages
7777 uses : actions/upload-artifact@v4
7878 with :
Original file line number Diff line number Diff line change 1717 credentials :
1818 username : ${{ secrets.DOCKERHUB_USERNAME }}
1919 password : ${{ secrets.DOCKERHUB_TOKEN }}
20-
20+
2121 strategy :
2222 fail-fast : false
2323 matrix :
@@ -32,41 +32,41 @@ jobs:
3232 ubuntu_distro : noble
3333 - ros_distro : rolling
3434 ubuntu_distro : noble
35-
35+
3636 steps :
3737 - name : Checkout code
3838 uses : actions/checkout@v4
39-
39+
4040 - name : Setup ROS environment
4141 run : |
4242 source /opt/ros/${{ matrix.ros_distro }}/setup.bash
4343 apt-get update -qq && apt-get install -y build-essential python3-pip
4444 shell : bash
45-
45+
4646 - name : Install Python dependencies
4747 run : |
4848 if [[ "${{ matrix.ros_distro }}" == "jazzy" || \
4949 "${{ matrix.ros_distro }}" == "kilted" || \
5050 "${{ matrix.ros_distro }}" == "rolling" ]]; then
51- pip3 install --break-system-packages -I pygments -r requirements.txt
51+ pip3 install --break-system-packages -I pygments textual
5252 else
53- pip3 install -r requirements.txt
53+ pip3 install textual
5454 fi
5555 shell : bash
56-
56+
5757 - name : Build packages
5858 run : |
5959 source /opt/ros/${{ matrix.ros_distro }}/setup.bash
6060 echo "Building and testing on ROS2 ${{ matrix.ros_distro }}"
6161 colcon build --packages-up-to r2s_gw
6262 shell : bash
63-
63+
6464 - name : Run tests
6565 run : |
6666 source /opt/ros/${{ matrix.ros_distro }}/setup.bash
6767 colcon test --event-handlers console_direct+ --return-code-on-test-failure --packages-up-to r2s_gw
6868 shell : bash
69-
69+
7070 - name : Upload test results
7171 uses : actions/upload-artifact@v4
7272 if : always()
You can’t perform that action at this time.
0 commit comments