collision avoidance fix #993
Workflow file for this run
This file contains hidden or 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
| # .github/workflows/ci.yml | |
| name: CI | |
| defaults: | |
| run: | |
| shell: bash -ieo pipefail {0} | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: "pycram/semantic_world:jazzy" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: "ros/src/semantic_digital_twin" | |
| repository: ${{ github.repository }} | |
| ref: ${{ github.ref }} | |
| submodules: 'false' | |
| - name: Update semantic_digital_twin source files | |
| run: | | |
| rm -rf /opt/ros/semantic_digital_twin/* | |
| cd /opt/ros//semantic_digital_twin | |
| rm -rf .git .github .gitignore .gitmodules .readthedocs.yaml | |
| cp -r /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/ros/src/semantic_digital_twin /opt/ros/ | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| cd /opt/ros/semantic_digital_twin | |
| source /opt/ros/semantic_digital_twin-venv/bin/activate | |
| git submodule init | |
| git submodule update | |
| pip install -U pip && pip install -r requirements.txt && pip install -e . && pip install pytest | |
| pip install -e ./src/ripple_down_rules_meta | |
| - name: Run tests | |
| run: | | |
| source /opt/ros/overlay_ws/install/setup.bash | |
| source /opt/ros/semantic_digital_twin-venv/bin/activate | |
| cd /opt/ros/semantic_digital_twin | |
| python -m pytest -v test/ |