Skip to content

Commit 73660ce

Browse files
ad-danieltsampazkpassalis
authored
Improve workflows (opendr-eu#353)
* 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 <[email protected]> * Update src/opendr/perception/object_detection_3d/voxel_object_detection_3d/dependencies.ini Co-authored-by: Kostas Tsampazis <[email protected]> * 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 <[email protected]> Co-authored-by: Nikolaos Passalis <[email protected]>
1 parent 65989cc commit 73660ce

File tree

59 files changed

+398
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+398
-323
lines changed

.github/workflows/test_packages.yml

+36-23
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,17 @@ jobs:
3030
- perception/face_recognition
3131
- perception/heart_anomaly_detection
3232
- perception/multimodal_human_centric
33-
- perception/object_tracking_2d
3433
- perception/pose_estimation
34+
- perception/fall_detection
3535
- perception/speech_recognition
36-
- perception/skeleton_based_action_recognition
36+
- perception/skeleton_based_action_recognition/costgcn
37+
- perception/skeleton_based_action_recognition/pstgcn
38+
- perception/skeleton_based_action_recognition/stbln
39+
- perception/skeleton_based_action_recognition/stgcn
40+
- perception/skeleton_based_action_recognition/tagcn
3741
- perception/semantic_segmentation
42+
- perception/object_tracking_2d
43+
# - perception/object_tracking_3d # passes, but disabled due to free() crash
3844
- perception/object_detection_2d/centernet
3945
- perception/object_detection_2d/detr
4046
- perception/object_detection_2d/gem
@@ -44,29 +50,30 @@ jobs:
4450
- perception/object_detection_2d/yolov5
4551
- perception/object_detection_2d/retinaface
4652
- perception/object_detection_2d/nms
53+
# - perception/object_detection_3d # passes, but disabled due to free() crash
4754
- perception/facial_expression_recognition
48-
- perception/object_detection_3d
49-
# - control/mobile_manipulation
50-
# - simulation/human_model_generation
51-
# - control/single_demo_grasp
52-
- perception/object_tracking_3d
55+
- simulation/human_model_generation
56+
#- control/mobile_manipulation
57+
#- control/single_demo_grasp
58+
#- planning/end_to_end_planning
5359
runs-on: ${{ matrix.os }}
5460
steps:
55-
- uses: actions/checkout@v2
61+
- uses: actions/checkout@v3
5662
- name: Set up Python 3.8
57-
uses: actions/setup-python@v2
63+
uses: actions/setup-python@v4
5864
with:
5965
python-version: 3.8
60-
- name: Test Wheel
66+
- name: Test Wheel Separately
6167
run: |
6268
export DISABLE_BCOLZ_AVX2=true
63-
sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev python3-dev
69+
sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev libeigen3-dev
6470
python3 -m venv venv
6571
source venv/bin/activate
66-
wget https://raw.githubusercontent.com/opendr-eu/opendr/master/dependencies/pip_requirements.txt
67-
cat pip_requirements.txt | xargs -n 1 -L 1 pip install
68-
pip install opendr-toolkit
69-
python -m unittest discover -s tests/sources/tools/${{ matrix.package }}
72+
python3 -m pip install --upgrade pip
73+
python3 -m pip install wheel
74+
python3 -m pip install opendr-toolkit
75+
# run the test
76+
python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}
7077
test-docker:
7178
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }}
7279
strategy:
@@ -80,11 +87,17 @@ jobs:
8087
- perception/face_recognition
8188
- perception/heart_anomaly_detection
8289
- perception/multimodal_human_centric
83-
- perception/object_tracking_2d
8490
- perception/pose_estimation
91+
- perception/fall_detection
8592
- perception/speech_recognition
86-
- perception/skeleton_based_action_recognition
93+
- perception/skeleton_based_action_recognition/costgcn
94+
- perception/skeleton_based_action_recognition/pstgcn
95+
- perception/skeleton_based_action_recognition/stbln
96+
- perception/skeleton_based_action_recognition/stgcn
97+
- perception/skeleton_based_action_recognition/tagcn
8798
- perception/semantic_segmentation
99+
- perception/object_tracking_2d
100+
# - perception/object_tracking_3d # passes, but disabled due to free() crash
88101
- perception/object_detection_2d/centernet
89102
- perception/object_detection_2d/detr
90103
- perception/object_detection_2d/gem
@@ -94,20 +107,20 @@ jobs:
94107
- perception/object_detection_2d/yolov5
95108
- perception/object_detection_2d/retinaface
96109
- perception/object_detection_2d/nms
110+
# - perception/object_detection_3d # passes, but disabled due to free() crash
97111
- perception/facial_expression_recognition
98-
- perception/object_detection_3d
99-
- control/mobile_manipulation
100112
- simulation/human_model_generation
113+
- control/mobile_manipulation
101114
- control/single_demo_grasp
102-
- perception/object_tracking_3d
115+
- planning/end_to_end_planning
103116
runs-on: ${{ matrix.os }}
104117
steps:
105118
- name: Set up Python 3.8
106-
uses: actions/setup-python@v2
119+
uses: actions/setup-python@v4
107120
with:
108121
python-version: 3.8
109122
- name: Test Docker
110123
run: |
111-
docker run --name toolkit -i opendr/opendr-toolkit:cpu_v1.1.1 bash
124+
docker run --name toolkit -i opendr/opendr-toolkit:cpu_v2.0.0 bash
112125
docker start toolkit
113-
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 }}"
126+
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 }}"

0 commit comments

Comments
 (0)