-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add automatic nightly sanity check (#192) * Add automatic nightly check * fix * Add badge * remove conditions * Remove develop badge * restore name * Fix nightly check (#193) * Fix nightly check * fix test * upgrade scikit-learn to 0.22 (#198) * upgrade scikit-learn to 0.22 0.21.3 causes warnings with the current numpy version. Upgrading it fixes it. * add changelog Co-authored-by: ad-daniel <daniel.dias@epfl.ch> * bug fixed (#196) Co-authored-by: Negar <negar.heidari@eng.au.dk> Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com> * Fix copyright dates and double-check rights owner (action required) (#199) * Fix dates * undo wrong change * Fix Tampere * Automatic test of pip and docker (#200) * Test pip installation * Trigger * Fix * Minor * Updated wheel test * Added libopenblas install * Temporary test disable * Temporary test disable * Added libsndfile1 dependency * Restored disabled test * New wheel building pipeline * Update build_wheel.sh * Added libboost-dev dep * Update installation.md * Switch to sdist * sdist workflow * Update tests_suite.yml * Added numpy include dirs * Disabled two 3d detection tests * Disabled three 3d detection tests * Disabled five 3d detection tests * Disabled all 3d detection tests * Disabled model download - 3d test * Disabled everything? * Removed imports from 3d object detection test * Import test * Import test * Import test * Import test * Import test * Import test * Restored test * Disabled object detection 3d test * Refactor workflow * disable temporarely * Fix docker mobile manipulation * Re-enable test * add badge * Fix changelog * remove test install reference * Restored pip installation Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Nikolaos <passalis@csd.auth.gr> Co-authored-by: Pavlos Tosidis <35866477+Pavlos-Tosidis@users.noreply.github.com> Co-authored-by: Negar Heidari <36771997+negarhdr@users.noreply.github.com> Co-authored-by: Negar <negar.heidari@eng.au.dk> Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Nikolaos <passalis@csd.auth.gr>
- Loading branch information
1 parent
83989cd
commit ddfa801
Showing
462 changed files
with
768 additions
and
493 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
name: Test Packages | ||
# This workflow tests the latest (third-party hosted) available builds | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, labeled, unlabeled] | ||
schedule: | ||
- cron: '0 23 * * *' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
|
||
jobs: | ||
cleanup-runs: | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: rokroskar/workflow-run-cleanup-action@master | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
test-wheel: | ||
needs: cleanup-runs | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
package: | ||
- engine | ||
- utils | ||
- perception/activity_recognition | ||
- perception/compressive_learning | ||
- perception/face_recognition | ||
- perception/heart_anomaly_detection | ||
- perception/multimodal_human_centric | ||
- perception/object_tracking_2d | ||
- perception/pose_estimation | ||
- perception/speech_recognition | ||
- perception/skeleton_based_action_recognition | ||
- perception/semantic_segmentation | ||
- perception/object_detection_2d | ||
- perception/facial_expression_recognition | ||
# - perception/object_detection_3d | ||
# - control/mobile_manipulation | ||
# - simulation/human_model_generation | ||
# - control/single_demo_grasp | ||
# - perception/object_tracking_3d | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Test Wheel | ||
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 | ||
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 | ||
# Test new package | ||
pip install opendr-toolkit | ||
python -m unittest discover -s tests/sources/tools/${{ matrix.package }} | ||
test-docker: | ||
needs: cleanup-runs | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
package: | ||
- engine | ||
- utils | ||
- perception/activity_recognition | ||
- perception/compressive_learning | ||
- perception/face_recognition | ||
- perception/heart_anomaly_detection | ||
- perception/multimodal_human_centric | ||
- perception/object_tracking_2d | ||
- perception/pose_estimation | ||
- perception/speech_recognition | ||
- perception/skeleton_based_action_recognition | ||
- perception/semantic_segmentation | ||
- perception/object_detection_2d | ||
- perception/facial_expression_recognition | ||
- perception/object_detection_3d | ||
- control/mobile_manipulation | ||
- simulation/human_model_generation | ||
- control/single_demo_grasp | ||
#- perception/object_tracking_3d | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Test Docker | ||
run: | | ||
docker run --name toolkit -i opendr/opendr-toolkit:cpu_latest 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 }}" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
name: Test Suite (develop) | ||
|
||
on: | ||
schedule: | ||
- cron: '0 23 * * *' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
cleanup-runs: | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: rokroskar/workflow-run-cleanup-action@master | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
test-sources: | ||
needs: cleanup-runs | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15] | ||
include: | ||
- os: ubuntu-18.04 | ||
DEPENDENCIES_INSTALLATION: "sudo apt -y install clang-format-10 cppcheck" | ||
- os: ubuntu-20.04 | ||
DEPENDENCIES_INSTALLATION: "sudo apt -y install clang-format-10 cppcheck" | ||
- os: macos-10.15 | ||
DEPENDENCIES_INSTALLATION: "brew install clang-format cppcheck" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false | ||
with: | ||
submodules: true | ||
ref: develop | ||
- name: Set up Python 3.8 | ||
if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Test Sources | ||
if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false | ||
run: | | ||
${{ matrix.DEPENDENCIES_INSTALLATION }} | ||
export OPENDR_HOME=$PWD | ||
export OPENDR_DEVICE=cpu | ||
pip install -r tests/requirements.txt | ||
python -m unittest discover -s tests | ||
test-tools: | ||
needs: cleanup-runs | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
package: | ||
- engine | ||
- utils | ||
- perception/activity_recognition | ||
- perception/compressive_learning | ||
- perception/face_recognition | ||
- perception/heart_anomaly_detection | ||
- perception/multimodal_human_centric | ||
- perception/object_tracking_2d | ||
- perception/object_detection_3d | ||
- perception/pose_estimation | ||
- perception/speech_recognition | ||
- perception/skeleton_based_action_recognition | ||
- perception/semantic_segmentation | ||
- control/mobile_manipulation | ||
- perception/object_detection_2d | ||
- simulation/human_model_generation | ||
- perception/facial_expression_recognition | ||
- control/single_demo_grasp | ||
# - perception/object_tracking_3d | ||
include: | ||
- os: ubuntu-20.04 | ||
DEPENDENCIES_INSTALLATION: "sudo sh -c 'echo \"deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main\" > /etc/apt/sources.list.d/ros-latest.list' \ | ||
&& curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
ref: develop | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Test Tools | ||
run: | | ||
${{ matrix.DEPENDENCIES_INSTALLATION }} | ||
export OPENDR_HOME=$PWD | ||
export OPENDR_DEVICE=cpu | ||
export PYTHONPATH=$OPENDR_HOME/src:$PYTHONPATH | ||
export DISABLE_BCOLZ_AVX2=true | ||
export ROS_DISTRO=noetic | ||
make install_compilation_dependencies | ||
make install_runtime_dependencies | ||
pip install -r tests/sources/requirements.txt | ||
if [ ${{ matrix.package }} = "ctests" ]; then | ||
make ctests | ||
else | ||
source tests/sources/tools/control/mobile_manipulation/run_ros.sh | ||
python -m unittest discover -s tests/sources/tools/${{ matrix.package }} | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# OpenDR Toolkit Change Log | ||
|
||
## Version 1.X | ||
Released on XX, XXth, 2022. | ||
|
||
- New Features: | ||
- None. | ||
- Enhancements: | ||
- None. | ||
- Bug Fixes: | ||
- Updated wheel building pipeline to include missing files and removed unnecessary dependencies ([#200](https://github.com/opendr-eu/opendr/pull/200)). | ||
- Dependency Updates: | ||
- `heart anomaly detection`: upgraded scikit-learn runtime dependency from 0.21.3 to 0.22 ([#198](https://github.com/opendr-eu/opendr/pull/198)). | ||
|
||
|
||
## Version 1.0 | ||
Released on December 31th, 2021. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recursive-include src/opendr * | ||
include requirements.txt |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Build all OpenDR dependecies | ||
./bin/install.sh | ||
|
||
# Activate OpenDR | ||
source ./bin/activate.sh | ||
|
||
# Prepare requirements.txt for wheel distributions | ||
pip3 freeze > requirements.txt | ||
|
||
# Remove detectron and git repositories (installation not supported through PyPI) | ||
sed -i '/detectron2/d' requirements.txt | ||
sed -i '/git/d' requirements.txt | ||
sed -i '/pkg_resources/d' requirements.txt | ||
sed -i '/auditwheel/d' requirements.txt | ||
|
||
# Build binary wheel and repair it | ||
python3 setup.py sdist |
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
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
Oops, something went wrong.