Update build_and_test_ubuntu22.04.yml #72
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 22.04 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build_and_test_22_04: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Build and install | |
- name: install_wbc_lib | |
run: | | |
git clone https://github.com/ARC-OPT/wbc.git | |
sh wbc/scripts/install.sh | |
- uses: ros-tooling/setup-ros@v0.7 | |
- uses: ros-tooling/action-ros-ci@v0.3 | |
with: | |
package-name: wbc_ros | |
target-ros2-distro: humble | |
vcs-repo-file-url: https://raw.githubusercontent.com/ARC-OPT/wbc_ros/main/repos.yaml | |
# Run all tests | |
- name: test | |
run: | | |
cd ros2_ws | |
source install/setup.bash | |
colcon test --packages-select wbc_ros |