Skip to content

Test

Test #66

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
individual-setup-build:
name: Individual Setup and build
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ros2-distro: [humble, iron]
steps:
- name: Checkout ROS 2 examples
uses: actions/[email protected]
with:
repository: ros2/examples
ref: ${{ matrix.ros2-distro }}
path: examples
sparse-checkout: |
rclcpp/topics
rclpy/topics
- name: Setup workspace
uses: ichiro-its/ros2-build-and-test-action/setup@${{ github.sha }}

Check failure on line 27 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 27, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.sha .github/workflows/test.yaml (Line: 32, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.sha
with:
ros2-distro: ${{ matrix.ros2-distro }}
- name: Build workspace
uses: ichiro-its/ros2-build-and-test-action/build@${{ github.sha }}
with:
ros2-distro: ${{ matrix.ros2-distro }}
setup-build-test:
name: Setup, Build, and Test
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ros2-distro: [humble, iron]
steps:
- name: Checkout ROS 2 examples on non master branch
uses: actions/[email protected]
with:
repository: ros2/examples
ref: ${{ matrix.ros2-distro }}
path: examples
sparse-checkout: |
rclcpp/topics
rclpy/topics
- name: Test the action
uses: ichiro-its/ros2-build-and-test-action@${{ github.sha }}
with:
ros2-distro: ${{ matrix.ros2-distro }}