Skip to content

Commit

Permalink
Merge pull request #21 from a2s-institute/github-actions
Browse files Browse the repository at this point in the history
GitHub actions
  • Loading branch information
harleylara authored Dec 11, 2023
2 parents 050e25f + 858adec commit 8a7cdca
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: main

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build-and-test:
runs-on: ${{ matrix.os }}
container:
image: osrf/ros:humble-desktop
strategy:
matrix:
os: [ubuntu-22.04]
fail-fast: false
steps:
- name: Install deps
run: sudo apt-get update && sudo apt-get install -y wget python3-vcstool python3-colcon-coveragepy-result
- name: build and test
uses: ros-tooling/[email protected]
with:
package-name: solo12_description solo12_bringup
target-ros2-distro: humble
skip-tests: true
2 changes: 1 addition & 1 deletion solo12_bringup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<exec_depend>gazebo_ros</exec_depend>
<exec_depend>ros2_control</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>rviz</exec>
<exec_depend>rviz</exec_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
Expand Down
2 changes: 1 addition & 1 deletion solo12_description/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<exec_depend>urdf</exec_depend>
<exec_depend>rviz2</exec_depend>
<exec_depend>launch</exec_depend>
<exec_depend>launch_ros</exec>
<exec_depend>launch_ros</exec_depend>
<exec_depend>joint_state_publisher_gui</exec_depend>
<exec_depend>joint_state_publisher</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
Expand Down

0 comments on commit 8a7cdca

Please sign in to comment.