Skip to content
Snippets Groups Projects
Unverified Commit 74da58f7 authored by Mikael Arguedas's avatar Mikael Arguedas Committed by GitHub
Browse files

[ci] Fix infrastructure issues on test_latest job (#247)


* move back to upstream action-ros-ci
remove obsolete todo
add required rosdistro parameter
* explicitly use ubuntu-20.04 to silence github actions warnings
* use rolling v0.1 for action-ros-ci
* install coveragepy-result that's a dependency of action-ros-ci

Signed-off-by: default avatarMikael Arguedas <mikael.arguedas@gmail.com>
parent 58dc4b4a
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ on:
jobs:
test_latest:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# 'osrf/ros2:devel' does *not* include RTI Connext or its' security plugins
# the former gets installed via rosdep in 'action-ros-ci' but the latter do *not* get installed
container: osrf/ros2:devel
......@@ -17,16 +17,15 @@ jobs:
run: |
apt-get -qq update
apt-get -qq upgrade -y
apt-get -qq install -y curl libasio-dev libtinyxml2-dev
# TODO(mikaelarguedas) switch back to ros-tooling/action-ros-ci once
# https://github.com/ros-tooling/action-ros-ci/pull/109 is released
- uses: mikaelarguedas/action-ros-ci@sros2-version
apt-get -qq install -y curl libasio-dev libssl-dev libtinyxml2-dev python3-colcon-coveragepy-result
- uses: ros-tooling/action-ros-ci@v0.1
with:
package-name: |
sros2
sros2_cmake
test_security
extra-cmake-args: '-DSECURITY=ON --no-warn-unused-cli'
target-ros2-distro: rolling
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')
......@@ -42,7 +41,7 @@ jobs:
name: colcon-logs
path: ros_ws/log
test_nightly:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# 'osrf/ros2:nightly-rmw-nonfree' includes RTI Connext but
# does *not* include the security plugins or a license allowing the use of Security
container: osrf/ros2:nightly-rmw-nonfree
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment