Skip to content

Commit

Permalink
Install docker-compose in ros container
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Nov 6, 2024
1 parent 1b945df commit c1fc27d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo apt update && sudo apt install python3-pip -y
sudo apt update && sudo apt install python3-pip docker-compose -y
pip3 install eclipse-zenoh==0.11.0 pycdr2 --break-system-packages
- uses: ros-tooling/[email protected]
Expand All @@ -26,8 +26,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v1

- name: Start containers
run: docker compose -f ".github/integration-tests/docker-compose.yaml" up -d --build
- name: Start test fixture containers
run: docker-compose -f ".github/integration-tests/docker-compose.yaml" up -d --build

- name: build and test
uses: ros-tooling/[email protected]
Expand All @@ -37,6 +37,6 @@ jobs:
package-name: free_fleet free_fleet_adapter free_fleet_examples
target-ros2-distro: ${{ matrix.ros_distribution }}

- name: Stop containers
- name: Stop test fixture containers
if: always()
run: docker compose -f ".github/integration-tests/docker-compose.yaml" down
run: docker-compose -f ".github/integration-tests/docker-compose.yaml" down
2 changes: 1 addition & 1 deletion free_fleet_examples/tests/integration/test_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def tf_callback(sample: zenoh.Sample):
transform_exists = True
except Exception as err:
print(f'Unable to get transform between base_footprint and '
f'map: {type(err)}: {err}')
f'map: {type(err)}: {err}')

time.sleep(1)
pub.undeclare()
Expand Down

0 comments on commit c1fc27d

Please sign in to comment.