fix(ci): use . instead of source #60
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: Iron CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest | |
steps: | |
- name: Setup ROS2 | |
uses: ros-tooling/[email protected] | |
with: | |
use-ros2-testing: true | |
required-ros-distributions: iron | |
- name: Checkout Repository with submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Python environment | |
run: | | |
apt install python3-venv -y | |
python3 -m venv venv | |
. venv/bin/activate | |
pip install --upgrade pip | |
- name: Install py-trees dependency | |
run: | | |
. venv/bin/activate | |
pip install py-trees | |
- name: Build ROS 2 package | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: > | |
tello_suite | |
tello_driver | |
tello_msgs | |
tello_bringup | |
tello_bt | |
tello_control_station | |
hand_gestures | |
plugin_server_base | |
target-ros2-distro: iron |