test(unraid): complete contract coverage and retain WS samples
This commit is contained in:
@@ -122,6 +122,7 @@ services:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- /mnt/user/appdata/tail2-pose-server/app:/app:ro
|
||||
- ./tests:/tests:ro
|
||||
- /mnt/user/appdata/tail2-pose-server/models:/models:ro
|
||||
- /mnt/user/appdata/tail2-pose-server/logs:/logs:ro
|
||||
- /mnt/user/appdata/tail2-pose-server/secrets/api-token:/run/secrets/api-token:ro
|
||||
@@ -130,7 +131,7 @@ services:
|
||||
- |
|
||||
set -euo pipefail
|
||||
chmod -R a+rwX /validation
|
||||
python -m pytest -q /opt/tail2-tests > /validation/unit-tests.txt 2>&1
|
||||
python -m pytest -q /tests > /validation/unit-tests.txt 2>&1
|
||||
python /app/tail2/validate_runtime.py > /validation/runtime.json
|
||||
python -m pip freeze | sort > /validation/pip-freeze.txt
|
||||
find / -xdev -type f -name 'libndi.so*' -print > /validation/ndi-runtime-files.txt 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user