Remove command in docker compose #14
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: Nightly | |
on: push | |
jobs: | |
integration-tests: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: | |
image: osrf/ros:${{ matrix.ros_distribution }}-desktop-noble | |
strategy: | |
matrix: | |
ros_distribution: | |
- jazzy | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt update && sudo apt install python3-pip docker-compose -y | |
pip3 install eclipse-zenoh==1.0.1 pycdr2 --break-system-packages | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Start test fixture containers | |
run: docker-compose -f ".github/integration-tests/docker-compose.yaml" up -d --build | |
- uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: ${{ matrix.ros_distribution }} | |
- name: build and test | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: free_fleet free_fleet_adapter free_fleet_examples | |
target-ros2-distro: ${{ matrix.ros_distribution }} | |
colcon-defaults: | | |
{ | |
"build": { | |
"cmake-args": [ | |
"-DINTEGRATION_TESTING=ON" | |
] | |
} | |
} | |
- name: Stop test fixture containers | |
if: always() | |
run: docker-compose -f ".github/integration-tests/docker-compose.yaml" down |