Skip to content

Commit c04619e

Browse files
committed
.github/workflows/config.yml: [run pull/requet]
1 parent fbb0da7 commit c04619e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
on:
2-
push:
3-
branches:
4-
- master
5-
pull_request:
1+
on: [push, pull_request]
62

73
env:
84
DISPLAY: ':0.0'
@@ -16,16 +12,16 @@ jobs:
1612
matrix:
1713
include:
1814
- ROS_DISTRO: melodic
15+
PYTHON_VERSION: python2
1916
- ROS_DISTRO: noetic
17+
PYTHON_VERSION: python3
2018

2119
container:
2220
image: ros:${{ matrix.ROS_DISTRO }}-ros-core
2321

2422
steps:
2523
- name: Chcekout
2624
uses: actions/checkout@v4
27-
with:
28-
submodules: true
2925

3026
- name: Start X server
3127
run: |
@@ -39,6 +35,11 @@ jobs:
3935
xhost +local:root
4036
shell: bash
4137

38+
- name: Setup ROS
39+
run: |
40+
sudo apt update -y -qq
41+
sudo apt -y -qq install ${{ matrix.PYTHON_VERSION }}-rosdep ${{ matrix.PYTHON_VERSION }}-catkin-tools
42+
4243
- name: Setup Workspace
4344
run: |
4445
source /opt/ros/${{ matrix.ROS_DISTRO }}/setup.bash

0 commit comments

Comments
 (0)