mirror of
https://github.com/azaion/detections.git
synced 2026-04-25 21:26:32 +00:00
This commit is contained in:
@@ -10,8 +10,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apk add --no-cache bash docker-cli-compose
|
- apk add --no-cache bash docker-cli-compose
|
||||||
- cd e2e
|
- cd e2e
|
||||||
- sed -n '/detections-jetson:/,/e2e-runner:/p' docker-compose.test.yml | grep -n "classes.json:/app/classes.json" || true
|
|
||||||
- docker compose -f docker-compose.test.yml --profile jetson config | sed -n '/detections-jetson:/,/e2e-runner:/p'
|
|
||||||
- E2E_PROFILE=jetson bash run_test.sh tests/test_health_engine.py
|
- E2E_PROFILE=jetson bash run_test.sh tests/test_health_engine.py
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@ done
|
|||||||
|
|
||||||
echo "--- Running: pytest $* -v -x -s --csv=/results/report.csv"
|
echo "--- Running: pytest $* -v -x -s --csv=/results/report.csv"
|
||||||
set +e
|
set +e
|
||||||
$COMPOSE run --rm --no-deps e2e-runner pytest "$@" -v -x -s --csv=/results/report.csv
|
$COMPOSE run --rm --build --no-deps e2e-runner pytest "$@" -v -x -s --csv=/results/report.csv
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user