Test #66
Workflow file for this run
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: 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 GitHub Actions / TestInvalid workflow file
|
||
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 }} |