mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 08:21:08 +00:00
Fixed tests
This commit is contained in:
@@ -26,11 +26,27 @@ steps:
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
if [ ! -f fixtures/image_small.jpg ]; then
|
||||
echo "ERROR: fixtures/image_small.jpg is missing; cannot warm up Jetson engine"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -f fixtures/models/azaion.onnx ]; then
|
||||
echo "ERROR: fixtures/models/azaion.onnx is missing; cannot convert Jetson engine"
|
||||
exit 1
|
||||
fi
|
||||
ls -lh fixtures/image_small.jpg fixtures/models/azaion.onnx
|
||||
|
||||
E2E_PROFILE=jetson \
|
||||
E2E_WAIT_FOR_ENGINE_ENABLED=1 \
|
||||
E2E_ENGINE_WAIT_TIMEOUT=3600 \
|
||||
E2E_LOG_TAIL=300 \
|
||||
bash run_test.sh tests/test_health_engine.py::TestHealthEngineStep03Warmed
|
||||
bash run_test.sh tests/test_health_engine.py::TestHealthEngineStep03Warmed -rs
|
||||
|
||||
if grep -qi 'skipped' results/report.csv; then
|
||||
echo "ERROR: Jetson conversion warm-up tests were skipped; no engine was produced"
|
||||
cat results/report.csv
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash scripts/publish_jetson_engine.sh
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user