Skip to content

Commit

Permalink
Improve workflows (#353)
Browse files Browse the repository at this point in the history
* Improvements

* update package tester

* Update changelog

* Split index of contents from demos

* Enable more

* More fixes

* Fix

* fixes

* Fixes

* Fixes

* Fixes

* cleanup

* Install only zip of entire toolkit and fixes to package tester

* Restore previous approach

* Force local use

* Preserve artifact on failures to allow rerun

* Revert

* More

* Fixes

* Minor

* Fixes

* Fixes

* Fixes

* Undo wrong changes

* Fixes

* Fix formatting

* Fixes

* Fixes

* Test

* Test

* Fixes

* Fixes

* fixes

* Split skeleton based action recognition tests

* Fixes

* Fixes

* Fixes

* Fixes

* Fix

* Fix script

* Fix post-install

* Fix typo

* Add missing tool dependency

* Fix multimodal

* Enfore protobuf to avoid issues with onnx and tensorboard

* Fix costgcn

* Fix sources

* Debug

* Minor

* Revert "Minor"

This reverts commit 7366bf5.

* Revert "Debug"

This reverts commit 7f221d7.

* Debug

* debug

* Update test_object_detection_3d.py

* Update test_object_detection_3d.py

* Update test_object_detection_3d.py

* Debug

* Debug

* Debug

* Restore

* Fixes

* Refactor tools with ROS deps

* Fix

* Test

* Fix

* Revert "Fix"

This reverts commit c74f766.

* Revert "Test"

This reverts commit 596f118.

* Revert "Fix"

This reverts commit d182ded.

* Revert "Refactor tools with ROS deps"

This reverts commit c74566d.

* Rework

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Restore

* Test fix

* Test fix

* Update tests_suite.yml

* Test

* Fixes

* Fixes

* Cleanup

* Fixes

* Fixes

* Test

* Update setup_end_to_end_planning.sh

* Test old procedure

* Permissions

* Test

* Test

* Test

* Test

* Fix missing dep

* Test

* Test

* Revert attempts

* Fix

* Fix

* Fix

* Fix

* Finalize

* Update src/opendr/perception/multimodal_human_centric/dependencies.ini

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/object_detection_3d/voxel_object_detection_3d/dependencies.ini

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Remove wheels for single demo, mobile manip. and end2end planning

* Testing

Dirty commit, comments needs to removed.

* Remove make command for retinaface

* Clean workflow

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 30, 2022
1 parent 65989cc commit 73660ce
Show file tree
Hide file tree
Showing 59 changed files with 398 additions and 323 deletions.
59 changes: 36 additions & 23 deletions .github/workflows/test_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ jobs:
- perception/face_recognition
- perception/heart_anomaly_detection
- perception/multimodal_human_centric
- perception/object_tracking_2d
- perception/pose_estimation
- perception/fall_detection
- perception/speech_recognition
- perception/skeleton_based_action_recognition
- perception/skeleton_based_action_recognition/costgcn
- perception/skeleton_based_action_recognition/pstgcn
- perception/skeleton_based_action_recognition/stbln
- perception/skeleton_based_action_recognition/stgcn
- perception/skeleton_based_action_recognition/tagcn
- perception/semantic_segmentation
- perception/object_tracking_2d
# - perception/object_tracking_3d # passes, but disabled due to free() crash
- perception/object_detection_2d/centernet
- perception/object_detection_2d/detr
- perception/object_detection_2d/gem
Expand All @@ -44,29 +50,30 @@ jobs:
- perception/object_detection_2d/yolov5
- perception/object_detection_2d/retinaface
- perception/object_detection_2d/nms
# - perception/object_detection_3d # passes, but disabled due to free() crash
- perception/facial_expression_recognition
- perception/object_detection_3d
# - control/mobile_manipulation
# - simulation/human_model_generation
# - control/single_demo_grasp
- perception/object_tracking_3d
- simulation/human_model_generation
#- control/mobile_manipulation
#- control/single_demo_grasp
#- planning/end_to_end_planning
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Test Wheel
- name: Test Wheel Separately
run: |
export DISABLE_BCOLZ_AVX2=true
sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev python3-dev
sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev libeigen3-dev
python3 -m venv venv
source venv/bin/activate
wget https://raw.githubusercontent.com/opendr-eu/opendr/master/dependencies/pip_requirements.txt
cat pip_requirements.txt | xargs -n 1 -L 1 pip install
pip install opendr-toolkit
python -m unittest discover -s tests/sources/tools/${{ matrix.package }}
python3 -m pip install --upgrade pip
python3 -m pip install wheel
python3 -m pip install opendr-toolkit
# run the test
python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}
test-docker:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }}
strategy:
Expand All @@ -80,11 +87,17 @@ jobs:
- perception/face_recognition
- perception/heart_anomaly_detection
- perception/multimodal_human_centric
- perception/object_tracking_2d
- perception/pose_estimation
- perception/fall_detection
- perception/speech_recognition
- perception/skeleton_based_action_recognition
- perception/skeleton_based_action_recognition/costgcn
- perception/skeleton_based_action_recognition/pstgcn
- perception/skeleton_based_action_recognition/stbln
- perception/skeleton_based_action_recognition/stgcn
- perception/skeleton_based_action_recognition/tagcn
- perception/semantic_segmentation
- perception/object_tracking_2d
# - perception/object_tracking_3d # passes, but disabled due to free() crash
- perception/object_detection_2d/centernet
- perception/object_detection_2d/detr
- perception/object_detection_2d/gem
Expand All @@ -94,20 +107,20 @@ jobs:
- perception/object_detection_2d/yolov5
- perception/object_detection_2d/retinaface
- perception/object_detection_2d/nms
# - perception/object_detection_3d # passes, but disabled due to free() crash
- perception/facial_expression_recognition
- perception/object_detection_3d
- control/mobile_manipulation
- simulation/human_model_generation
- control/mobile_manipulation
- control/single_demo_grasp
- perception/object_tracking_3d
- planning/end_to_end_planning
runs-on: ${{ matrix.os }}
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Test Docker
run: |
docker run --name toolkit -i opendr/opendr-toolkit:cpu_v1.1.1 bash
docker run --name toolkit -i opendr/opendr-toolkit:cpu_v2.0.0 bash
docker start toolkit
docker exec -i toolkit bash -c "source bin/activate.sh && source tests/sources/tools/control/mobile_manipulation/run_ros.sh && python -m unittest discover -s tests/sources/tools/${{ matrix.package }}"
docker exec -i toolkit bash -c "source bin/activate.sh && source tests/sources/tools/control/mobile_manipulation/run_ros.sh && python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}"
Loading

0 comments on commit 73660ce

Please sign in to comment.