49 lines
1.8 KiB
JSON
49 lines
1.8 KiB
JSON
{
|
|
"version": 1,
|
|
"downstreams": [
|
|
{
|
|
"name": "orisys-sdk-release",
|
|
"path": "../orisys-sdk-release",
|
|
"sync": [
|
|
{"from": "docs", "to": "docs"},
|
|
{"from": "examples", "to": "examples", "include": [
|
|
"README.md",
|
|
"basic_pipeline.py",
|
|
"mini_pipeline.py",
|
|
"finger_pipeline.py",
|
|
"finger_pipeline_3dview.py",
|
|
"plot_data.py",
|
|
"two_sensor_pipeline.py"
|
|
]},
|
|
{"from": "config", "to": "config", "include": ["box.json", "finger.json", "mini.json"]}
|
|
],
|
|
"checks": [
|
|
"python -m py_compile examples/basic_pipeline.py examples/finger_pipeline.py examples/finger_pipeline_3dview.py examples/plot_data.py",
|
|
"python -c \"import pathlib; p=pathlib.Path('.'); hits=[f for f in p.rglob('*') if f.is_file() and 'examples/products' in f.read_text(encoding='utf-8', errors='ignore').replace('\\\\','/')]; print('stale products paths:' if hits else 'no stale products paths'); [print(x) for x in hits]\""
|
|
]
|
|
},
|
|
{
|
|
"name": "sensor-bench",
|
|
"path": "../sensor-bench",
|
|
"sync": [
|
|
{"from": "config", "to": "config", "include": ["box.json", "mini.json", "dd06-ov-0810.json"]}
|
|
],
|
|
"checks": [
|
|
"python tests/test_smoke.py"
|
|
]
|
|
},
|
|
{
|
|
"name": "finger-bench",
|
|
"path": "../finger-bench",
|
|
"sync": [
|
|
{"from": "config", "to": "config", "include": ["finger.json", "dd02-ov.json"]},
|
|
{"from": "assets/finger", "to": "assets/finger"}
|
|
],
|
|
"checks": [
|
|
"python tests/test_smoke.py",
|
|
"python -c \"import pathlib; t=pathlib.Path('README.md').read_text(encoding='utf-8'); print('README still mentions examples/products' if 'examples/products' in t else 'README products path ok')\""
|
|
]
|
|
}
|
|
]
|
|
}
|