mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 08:11:07 +00:00
Fixed tests
This commit is contained in:
@@ -29,7 +29,7 @@ services:
|
||||
CLASSES_JSON_PATH: /app/classes.json
|
||||
volumes:
|
||||
- ./fixtures:/media
|
||||
- ./logs:/app/Logs
|
||||
- detections-logs:/app/Logs
|
||||
shm_size: 512m
|
||||
mem_limit: 4g
|
||||
networks:
|
||||
@@ -52,7 +52,7 @@ services:
|
||||
CLASSES_JSON_PATH: /app/classes.json
|
||||
volumes:
|
||||
- ./fixtures:/media
|
||||
- ./logs:/app/Logs
|
||||
- detections-logs:/app/Logs
|
||||
networks:
|
||||
e2e-net:
|
||||
aliases:
|
||||
@@ -75,6 +75,7 @@ services:
|
||||
CLASSES_JSON_PATH: /app/classes.json
|
||||
volumes:
|
||||
- ./fixtures:/media:ro
|
||||
- detections-logs:/app/Logs
|
||||
shm_size: 512m
|
||||
networks:
|
||||
e2e-net:
|
||||
@@ -92,10 +93,11 @@ services:
|
||||
- mock-annotations
|
||||
environment:
|
||||
JWT_SECRET: test-secret-e2e-only
|
||||
MEDIA_DIR: /app/fixtures
|
||||
MEDIA_DIR: /media
|
||||
volumes:
|
||||
- ./fixtures:/media
|
||||
- ./results:/results
|
||||
- detections-logs:/app/Logs
|
||||
networks:
|
||||
- e2e-net
|
||||
command: ["pytest", "--csv=/results/report.csv", "-v"]
|
||||
@@ -103,3 +105,6 @@ services:
|
||||
networks:
|
||||
e2e-net:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
detections-logs:
|
||||
|
||||
Reference in New Issue
Block a user