-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #479 from k-okada/fix_ga
integrate all .github/workflows/*.yml to config.yml, fix permission issue
- Loading branch information
Showing
19 changed files
with
204 additions
and
140 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# jsk_travis | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
env: | ||
DISPLAY: ':0.0' | ||
|
||
jobs: | ||
ros: | ||
runs-on: ubuntu-latest | ||
# continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ROS_DISTRO: indigo | ||
CONTAINER: jskrobotics/ros-ubuntu:14.04 | ||
USE_DEB : true | ||
EXTRA_DEB: "ros-indigo-pr2-gazebo ros-indigo-pr2-arm-kinematics" | ||
NOT_TEST_INSTALL: true | ||
TEST_PKGS: "pr2eus" | ||
BEFORE_SCRIPT: "echo 'deb http://packages.osrfoundation.org/gazebo/ubuntu trusty main' | sudo tee /etc/apt/sources.list.d/gazebo-stable.list; wget --no-check-certificate https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -; sudo apt update -y; sudo apt dist-upgrade -y; mkdir -p ~/.gazebo/; git clone --depth=1 https://github.com/osrf/gazebo_models.git ~/.gazebo/models" | ||
- ROS_DISTRO: indigo | ||
CONTAINER: jskrobotics/ros-ubuntu:14.04 | ||
USE_DEB : true | ||
EXTRA_DEB: "ros-indigo-pr2-gazebo ros-indigo-pr2-arm-kinematics" | ||
NOT_TEST_INSTALL: true | ||
TEST_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
BEFORE_SCRIPT: "echo 'deb http://packages.osrfoundation.org/gazebo/ubuntu trusty main' | sudo tee /etc/apt/sources.list.d/gazebo-stable.list; wget --no-check-certificate https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -; sudo apt update -y; sudo apt dist-upgrade -y; mkdir -p ~/.gazebo/; git clone --depth=1 https://github.com/osrf/gazebo_models.git ~/.gazebo/models" | ||
- ROS_DISTRO: kinetic | ||
CONTAINER: ubuntu:16.04 | ||
USE_DEB : true | ||
TEST_PKGS: "pr2eus" | ||
EXTRA_DEB: "ros-kinetic-moveit-ros-perception" | ||
BEFORE_SCRIPT: "echo 'deb http://packages.osrfoundation.org/gazebo/ubuntu xenial main' | sudo tee /etc/apt/sources.list.d/gazebo-stable.list; wget --no-check-certificate https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -; sudo apt update -y" | ||
- ROS_DISTRO: kinetic | ||
CONTAINER: ubuntu:16.04 | ||
USE_DEB : true | ||
TEST_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
EXTRA_DEB: "ros-kinetic-moveit-ros-perception" | ||
BEFORE_SCRIPT: "echo 'deb http://packages.osrfoundation.org/gazebo/ubuntu xenial main' | sudo tee /etc/apt/sources.list.d/gazebo-stable.list; wget --no-check-certificate https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -; sudo apt update -y" | ||
- ROS_DISTRO: melodic | ||
CONTAINER: ubuntu:18.04 | ||
USE_DEB : true | ||
TEST_PKGS: "pr2eus" | ||
- ROS_DISTRO: melodic | ||
CONTAINER: ubuntu:18.04 | ||
USE_DEB : true | ||
TEST_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
# - ROS_DISTRO: noetic | ||
# CONTAINER: ubuntu:20.04 | ||
# USE_DEB : true | ||
# TEST_PKGS: "pr2eus" | ||
# - ROS_DISTRO: noetic | ||
# CONTAINER: ubuntu:20.04 | ||
# USE_DEB : true | ||
# TEST_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
- ROS_DISTRO: noetic | ||
CONTAINER: ubuntu:20.04 | ||
USE_DEB : false | ||
BUILD_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
TEST_PKGS: "pr2eus" | ||
- ROS_DISTRO: noetic | ||
CONTAINER: ubuntu:20.04 | ||
USE_DEB : false | ||
BUILD_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
TEST_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
|
||
|
||
container: ${{ matrix.CONTAINER }} | ||
|
||
steps: | ||
- name: Install latest git ( use sudo for ros-ubuntu ) | ||
run: | | ||
(apt-get update && apt-get install -y sudo) || echo "OK" | ||
sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git | ||
- name: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613 | ||
run: | | ||
set -x | ||
export USER=$(whoami) | ||
if [ "${{ matrix.CONTAINER }}" = "jskrobotics/ros-ubuntu:14.04" ]; then | ||
git config --global --add safe.directory $GITHUB_WORKSPACE || echo "OK" # Show 'could not lock config file /github/home/.gitconfig: Permission denied', but it is ok | ||
sudo mkdir -p /__w/ | ||
sudo chmod 777 -R /__w/ | ||
sudo chown -R $USER $HOME | ||
# sudo mkdir -p /home/runner/work/_temp/_github_workflow/ | ||
# sudo chown -R $USER $HOME /home/runner/work/_temp/_github_workflow/ | ||
# ls -al /home/runner/work/_temp/_github_workflow/ | ||
else | ||
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
fi | ||
- name: Chcekout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run jsk_travis | ||
uses: jsk-ros-pkg/jsk_travis@master | ||
with: | ||
ROS_PARALLEL_TEST_JOBS : "-j1" | ||
CATKIN_PARALLEL_TEST_JOBS : "-p1" | ||
ROS_DISTRO : ${{ matrix.ROS_DISTRO }} | ||
USE_DEB : ${{ matrix.USE_DEB }} | ||
NOT_TEST_INSTALL : ${{ matrix.NOT_TEST_INSTALL }} | ||
BUILD_PKGS: ${{ matrix.BUILD_PKGS }} | ||
TEST_PKGS : ${{ matrix.TEST_PKGS }} | ||
EXTRA_DEB : ${{ matrix.EXTRA_DEB }} | ||
BEFORE_SCRIPT : ${{ matrix.BEFORE_SCRIPT }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# generated by `./generate_action_config.py noetic` | ||
# jsk_travis | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: check_python2 | ||
|
||
container: ubuntu:20.04 | ||
|
||
steps: | ||
- name: Chcekout | ||
uses: actions/checkout@v2 | ||
- name: Check Python2 | ||
run: | | ||
apt update -q && apt install -y -q python2 | ||
python2 -m compileall . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# generated by `./generate_action_config.py noetic` | ||
# jsk_travis | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: check_python3 | ||
|
||
container: ubuntu:20.04 | ||
|
||
steps: | ||
- name: Install latest git to download .git directory in actions/checkout@v2 ( 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: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613 | ||
run: git config --global --add safe.directory $GITHUB_WORKSPACE | ||
- name: Chcekout | ||
uses: actions/checkout@v2 | ||
- name: Check Python3 | ||
run: | | ||
apt update -q && apt install -y -q python3 git 2to3 | ||
bash -c "ret=0; trap 'ret=1' ERR; python3 -m compileall .; 2to3 -w -f except -f execfile -f has_key -f import -f raw_input -f zip .; git diff --exit-code . > /dev/null; echo Exitting with \$ret; exit \$ret" |
Submodule .travis
updated
18 files
+26 −3 | .github/workflows/generate_action_config.py | |
+10 −4 | .github/workflows/indigo.yml | |
+10 −4 | .github/workflows/kinetic.yml | |
+43 −2 | .github/workflows/main.yml | |
+10 −4 | .github/workflows/melodic.yml | |
+10 −4 | .github/workflows/noetic.yml | |
+18 −0 | .github/workflows/python2.yml | |
+0 −1 | .travis.yml | |
+44 −0 | CHANGELOG.rst | |
+1 −0 | CMakeLists.txt | |
+6 −1 | action.yml | |
+3 −1 | docker.sh | |
+1 −0 | docker/Dockerfile.ros-ubuntu:12.04 | |
+5 −0 | docker/Dockerfile.ros-ubuntu:14.04-pcl1.8 | |
+3 −1 | package.xml | |
+18 −0 | test/test_lxml.py | |
+20 −7 | travis.sh | |
+14 −1 | travis_jenkins.py |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<launch> | ||
<arg name="gui" default="false"/> | ||
<include file="$(find pr2eus)/test/pr2-ri-test-bringup.launch" | ||
pass_all_args="true" /> | ||
|
||
<!-- start test --> | ||
<test test-name="pr2_ri_test_arm" pkg="roseus" type="roseus" retry="1" | ||
args="$(find pr2eus)/test/pr2-ri-test-arm.l" time-limit="800" /> | ||
</launch> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<launch> | ||
<arg name="gui" default="false"/> | ||
<include file="$(find pr2eus)/test/pr2-ri-test-bringup.launch" | ||
pass_all_args="true" /> | ||
|
||
<!-- start test --> | ||
<test test-name="pr2_ri_test_base" pkg="roseus" type="roseus" retry="1" | ||
args="$(find pr2eus)/test/pr2-ri-test-base.l" time-limit="800" /> | ||
</launch> |
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
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
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
Oops, something went wrong.