Skip to content

Commit

Permalink
ci: use ROS 2 examples for Failed Test testing
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Nov 1, 2023
1 parent 38940f3 commit e5f30a4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 78 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
mv examples/rclcpp/topics cpptopics
mv examples/rclpy/topics pytopics
rm -rf examples test
rm -rf examples
- name: Test the action
uses: ./
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Adjust packages
run: |
mv examples/rclcpp/topics/minimal_publisher .
rm -rf examples test minimal_publisher/lambda.cpp
rm -rf examples minimal_publisher/lambda.cpp
- name: Test the action
id: action
Expand All @@ -75,10 +75,17 @@ jobs:
- name: Checkout this repository
uses: actions/[email protected]

- name: Only test some packages
- name: Checkout ROS 2 examples
uses: actions/[email protected]
with:
repository: ros2/examples
ref: iron
path: examples

- name: Adjust packages
run: |
mv test/failed_test failed_test
rm -rf examples test
mv examples/rclcpp/topics/minimal_publisher .
sed -i '' 's/return 0;/int unused; return 0;/g' minimal_publisher/lambda.cpp
- name: Test the action
id: action
Expand Down
28 changes: 0 additions & 28 deletions test/failed_test/CMakeLists.txt

This file was deleted.

16 changes: 0 additions & 16 deletions test/failed_test/package.xml

This file was deleted.

29 changes: 0 additions & 29 deletions test/failed_test/src/main.cpp

This file was deleted.

0 comments on commit e5f30a4

Please sign in to comment.