Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Variational Voxel 3D Detection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MaLeCi
OpenDR
Variational Voxel 3D Detection
Commits
a31d6009
Unverified
Commit
a31d6009
authored
3 years ago
by
ad-daniel
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Retry (#208)
parent
d9f27c5b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/tests_suite.yml
+132
-2
132 additions, 2 deletions
.github/workflows/tests_suite.yml
with
132 additions
and
2 deletions
.github/workflows/tests_suite.yml
+
132
−
2
View file @
a31d6009
...
...
@@ -12,7 +12,7 @@ defaults:
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' }}
if
:
${{ contains(github.event.pull_request.labels.*.name, 'test sources') || contains(github.event.pull_request.labels.*.name, 'test tools') ||
contains(github.event.pull_request.labels.*.name, 'test release') ||
github.event_name == 'schedule' }}
runs-on
:
ubuntu-latest
steps
:
-
uses
:
rokroskar/workflow-run-cleanup-action@master
...
...
@@ -106,4 +106,134 @@ jobs:
source tests/sources/tools/control/mobile_manipulation/run_ros.sh
python -m unittest discover -s tests/sources/tools/${{ matrix.package }}
fi
build-wheel
:
needs
:
cleanup-runs
if
:
${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v2
with
:
submodules
:
true
-
name
:
Set up Python
3.8
uses
:
actions/setup-python@v2
with
:
python-version
:
3.8
-
name
:
Install prerequisites
run
:
|
python -m pip install --upgrade pip
pip install setuptools wheel twine
-
name
:
Build Wheel
run
:
./bin/build_wheel.sh
-
name
:
Upload wheel as artifact
uses
:
actions/upload-artifact@v2
with
:
path
:
dist/*.tar.gz
build-docker
:
needs
:
cleanup-runs
if
:
${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v2
with
:
submodules
:
true
-
name
:
Build image
run
:
|
docker build --tag opendr/opendr-toolkit:cpu_test --file Dockerfile .
docker save opendr/opendr-toolkit:cpu_test > cpu_test.zip
-
name
:
Upload image artifact
uses
:
actions/upload-artifact@v2
with
:
path
:
cpu_test.zip
test-wheel
:
needs
:
build-wheel
if
:
${{ contains(github.event.pull_request.labels.*.name, 'test release') || 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
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v2
with
:
submodules
:
true
-
name
:
Set up Python
3.8
uses
:
actions/setup-python@v2
with
:
python-version
:
3.8
-
name
:
Download artifact
uses
:
actions/download-artifact@v2
with
:
path
:
artifact
-
name
:
Get branch name
id
:
branch-name
uses
:
tj-actions/branch-names@v5.1
-
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/${{ steps.branch-name.outputs.current_branch }}/dependencies/pip_requirements.txt
cat pip_requirements.txt | xargs -n 1 -L 1 pip install
pip install ./artifact/artifact/*.tar.gz
python -m unittest discover -s tests/sources/tools/${{ matrix.package }}
test-docker
:
needs
:
build-docker
if
:
${{ contains(github.event.pull_request.labels.*.name, 'test release') || 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
:
ubuntu-20.04
steps
:
-
name
:
Download artifact
uses
:
actions/download-artifact@v2
with
:
path
:
artifact
-
name
:
Test docker
run
:
|
docker load < ./artifact/artifact/cpu_test.zip
docker run --name toolkit -i opendr/opendr-toolkit:cpu_test 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 diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment