Spaces:
Running
Running
| services: | |
| test: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| target: test | |
| container_name: gguf-splitter-test | |
| environment: | |
| - RUN_LOCALLY=1 | |
| - LLAMA_GGUF_SPLIT_PATH=/usr/local/bin/llama-gguf-split | |
| - PYTHONPATH=/home/user/app | |
| volumes: | |
| - ./test-output:/home/user/app/test-output | |
| command: ["pytest", "tests/", "-v", "--tb=short"] | |
| test-quick: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| target: test | |
| container_name: gguf-splitter-test-quick | |
| environment: | |
| - RUN_LOCALLY=1 | |
| - LLAMA_GGUF_SPLIT_PATH=/usr/local/bin/llama-gguf-split | |
| - PYTHONPATH=/home/user/app | |
| command: | |
| [ | |
| "pytest", | |
| "tests/", | |
| "-v", | |
| "--tb=short", | |
| "-m", | |
| "not integration", | |
| "--ignore=tests/test_integration.py", | |
| ] | |
| test-integration: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| target: test | |
| container_name: gguf-splitter-test-integration | |
| environment: | |
| - RUN_LOCALLY=1 | |
| - LLAMA_GGUF_SPLIT_PATH=/usr/local/bin/llama-gguf-split | |
| - PYTHONPATH=/home/user/app | |
| command: ["pytest", "tests/test_integration.py", "-v", "--tb=short", "-s"] | |