Merge pull request #36 from HarvestX/upgrade/p9n_test-1.1.1 #42
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
name: ci_humble | |
on: | |
push: | |
branches: | |
- "humble" | |
pull_request: | |
types: [opened, synchronize, labeled] | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
if: | | |
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING') && (github.base_ref == 'humble' )) || | |
((github.event.action == 'synchronize') && (github.base_ref == 'humble') && contains(github.event.pull_request.labels.*.name, 'TESTING')) || | |
(github.ref_name == 'humble') | |
container: | |
image: osrf/ros:${{ matrix.ros_distribution }}-desktop | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
ros_distribution: [humble] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y wget python3-vcstool python3-colcon-coveragepy-result | |
- name: Build and Test | |
uses: ros-tooling/action-ros-ci@v0.2 | |
with: | |
target-ros2-distro: ${{ matrix.ros_distribution }} | |
import-token: ${{ secrets.GITHUB_TOKEN }} | |
package-name: | | |
p9n | |
p9n_bringup | |
p9n_example | |
p9n_interface | |
p9n_node | |
p9n_test |