Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add melodic-false-planning.yml melodic-false-pr2eus.yml to GHA #698

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/melodic-false-planning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# generated by `./generate_action_config.py melodic`
# jsk_travis
on:
push:
branches:
- master
pull_request:

env:
DISPLAY: ':0.0'

jobs:
melodic-false-planning:
runs-on: ubuntu-latest
name: melodic-false-planning

container: ubuntu:18.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata
apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Install src
run: |
export INSTALL_SRC="http://github.com/jsk-ros-pkg/jsk_planning"
apt-get install -y -qq python-yaml
rm .travis.rosinstall
for src in $INSTALL_SRC; do name=`basename $src`; python -c "import yaml;print(yaml.dump([{'git':{'uri':'$src','local-name':'$name'}}], default_flow_style=False))" >> .travis.rosinstall; done;
cat .travis.rosinstall
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_PARALLEL_JOBS : "-j2"
CATKIN_PARALLEL_JOBS : "-p2"
ROS_PARALLEL_TEST_JOBS : "-j2"
CATKIN_PARALLEL_TEST_JOBS : "-p2"
ROS_DISTRO : melodic
USE_DEB : false
NOT_TEST_INSTALL : true
TEST_PKGS : "task_compiler"
51 changes: 51 additions & 0 deletions .github/workflows/melodic-false-pr2eus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# generated by `./generate_action_config.py melodic`
# jsk_travis
on:
push:
branches:
- master
pull_request:

env:
DISPLAY: ':0.0'

jobs:
melodic-false-pr2eus:
runs-on: ubuntu-latest
name: melodic-false-pr2eus

container: ubuntu:18.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata
apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Install src
run: |
export INSTALL_SRC="http://github.com/jsk-ros-pkg/jsk_pr2eus"
apt-get install -y -qq python-yaml
rm .travis.rosinstall
for src in $INSTALL_SRC; do name=`basename $src`; python -c "import yaml;print(yaml.dump([{'git':{'uri':'$src','local-name':'$name'}}], default_flow_style=False))" >> .travis.rosinstall; done;
cat .travis.rosinstall
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_PARALLEL_JOBS : "-j2"
CATKIN_PARALLEL_JOBS : "-p2"
ROS_PARALLEL_TEST_JOBS : "-j2"
CATKIN_PARALLEL_TEST_JOBS : "-p2"
ROS_DISTRO : melodic
USE_DEB : false
NOT_TEST_INSTALL : true
TEST_PKGS : "pr2eus pr2eus_moveit"
1 change: 1 addition & 0 deletions roseus/test/param-test.l
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
'("/test_dictionary/str_value" "/test_dictionary/dictionary/key_bool" "/test_dictionary/dictionary/key_dbl" "/test_dictionary/dictionary/key_str" "/test_dictionary/dictionary/key_int" "/test_dictionary/dictionary/key_list" "/test_dictionary/list" "/test_dictionary/bool_value" "/test_dictionary/int_value" "/test_dictionary/dbl_value" "/rosversion" "/run_id" "/param/test" "/param/read_parameter/test" "/test" "/rosdistro"
"/test2" "/param/read_parameter/test2" "/param/test2" "/test_dictionary2/str_value" "/test_dictionary2/dictionary/key_bool" "/test_dictionary2/dictionary/key_dbl" "/test_dictionary2/dictionary/key_str" "/test_dictionary2/dictionary/key_int" "/test_dictionary2/dictionary/key_list" "/test_dictionary2/bool_value" "/test_dictionary2/list" "/test_dictionary2/int_value" "/test_dictionary2/dbl_value")
:test #'equal))
(setq diff (remove-if #'(lambda (x) (substringp "/roslaunch/uris/host_" x)) diff)) ;; from noetic roslaunch set params https://github.com/ros/ros_comm/blob/07fb5469c71e10e4a05fa3a631897d9adece61c5/tools/roslaunch/src/roslaunch/launch.py#L448-L449
(assert (not diff) "list-param ~A failed" diff)
))

Expand Down