collision avoidance fix #264
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
| name: Jupyter Notebook Exercises | |
| 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 | |
| sudo apt install python3-cffi -y | |
| 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 -U -r requirements.txt && pip install -e . && pip install pytest | |
| pip install -r doc/requirements.txt && pip install treon jupytext | |
| pip install -e ./src/ripple_down_rules_meta | |
| # echo "PATH=/opt/ros/overlay_ws/src/Multiverse-Parser/ext/blender:/opt/ros/overlay_ws/src/Multiverse-Parser/USD/linux/lib/python:/opt/ros/overlay_ws/src/Multiverse-Parser/USD/linux/plugin/usd:$PATH" >> $GITHUB_ENV | |
| # echo "PYTHONPATH=/opt/ros/overlay_ws/src/Multiverse-Parser/USD/linux/lib/python:/opt/ros/overlay_ws/src/src" >> $GITHUB_ENV | |
| - 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/scripts | |
| /bin/bash test_exercises.sh |