Skip to content

Commit

Permalink
Disable ros_test (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallets authored Dec 11, 2024
1 parent a15bd57 commit 8e1fdbd
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 379 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,45 +63,45 @@ jobs:
- name: Run tests
run: cargo test --verbose

system_tests_with_ros2_humble:
name: System tests with ROS 2 Humble
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
steps:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble

- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install ACL
run: sudo apt-get -y install libacl1-dev

- name: Run ROS tests (enable feature ros_test)
shell: bash
run: "source /opt/ros/humble/setup.bash && cargo test --features ros_test --verbose"

system_tests_with_ros2_jazzy:
name: System tests with ROS 2 Jazzy
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
steps:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: jazzy

- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install ACL
run: sudo apt-get -y install libacl1-dev

- name: Run ROS tests (enable feature ros_test)
shell: bash
run: "source /opt/ros/jazzy/setup.bash && cargo test --features ros_test --verbose"
# system_tests_with_ros2_humble:
# name: System tests with ROS 2 Humble
# runs-on: ubuntu-latest
# container:
# image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
# steps:
# - uses: ros-tooling/[email protected]
# with:
# required-ros-distributions: humble

# - uses: actions/checkout@v4
# - uses: actions-rust-lang/setup-rust-toolchain@v1

# - name: Install ACL
# run: sudo apt-get -y install libacl1-dev

# - name: Run ROS tests (enable feature ros_test)
# shell: bash
# run: "source /opt/ros/humble/setup.bash && cargo test --features ros_test --verbose"

# system_tests_with_ros2_jazzy:
# name: System tests with ROS 2 Jazzy
# runs-on: ubuntu-latest
# container:
# image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
# steps:
# - uses: ros-tooling/[email protected]
# with:
# required-ros-distributions: jazzy

# - uses: actions/checkout@v4
# - uses: actions-rust-lang/setup-rust-toolchain@v1

# - name: Install ACL
# run: sudo apt-get -y install libacl1-dev

# - name: Run ROS tests (enable feature ros_test)
# shell: bash
# run: "source /opt/ros/jazzy/setup.bash && cargo test --features ros_test --verbose"

# NOTE: In GitHub repository settings, the "Require status checks to pass
# before merging" branch protection rule ensures that commits are only merged
Expand Down
Loading

0 comments on commit 8e1fdbd

Please sign in to comment.