Skip to content

Commit

Permalink
ci: remove Upload Build Result step in the Build and Test job (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Nov 2, 2023
1 parent 40f2b9b commit 21b7415
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,63 +61,3 @@ jobs:
uses: ./
with:
ros2-distro: ${{ matrix.ros2-distro }}

- name: Upload build result
uses: actions/upload-artifact@v3.1.3
with:
name: Install
path: install

failed-build:
name: Failed Build
runs-on: ubuntu-22.04
steps:
- name: Checkout this repository
uses: actions/checkout@v4.1.1

- name: Checkout ROS 2 examples
uses: actions/checkout@v4.1.1
with:
repository: ros2/examples
ref: iron
path: examples
sparse-checkout: rclcpp/topics/minimal_publisher

- name: Adjust packages
run: rm examples/rclcpp/topics/minimal_publisher/lambda.cpp

- name: Test the action
id: action
continue-on-error: true
uses: ./

- name: Fails if previous step has succeeded
if: ${{ steps.action.outcome == 'success' }}
run: false

failed-test:
name: Failed Test
runs-on: ubuntu-22.04
steps:
- name: Checkout this repository
uses: actions/checkout@v4.1.1

- name: Checkout ROS 2 examples
uses: actions/checkout@v4.1.1
with:
repository: ros2/examples
ref: iron
path: examples
sparse-checkout: rclcpp/topics/minimal_publisher

- name: Adjust packages
run: sed -i 's/return 0;/int unused ;;;; return 0;/g' examples/rclcpp/topics/minimal_publisher/lambda.cpp

- name: Test the action
id: action
continue-on-error: true
uses: ./

- name: Fails if previous step has succeeded
if: ${{ steps.action.outcome == 'success' }}
run: false

0 comments on commit 21b7415

Please # to comment.