### Syncing Test Dependencies with uv Source: https://github.com/thephaseless/byparr/blob/main/README.md This command uses the uv package manager to synchronize the project's dependencies required for running tests. The `--group test` flag ensures only the dependencies specified for the 'test' group are installed or updated. ```bash uv sync --group test ``` -------------------------------- ### Running Byparr Locally with uv Source: https://github.com/thephaseless/byparr/blob/main/README.md This command first synchronizes dependencies using `uv sync` and then runs the main application script (`main.py`) using the uv runner. This is the standard way to run Byparr directly from the source code. ```bash uv sync && uv run main.py ``` -------------------------------- ### Building Byparr Docker Image for Testing Source: https://github.com/thephaseless/byparr/blob/main/README.md This command builds the Docker image specifically for running tests. It uses the `--target test` flag to select the test stage defined in the Dockerfile. This is a troubleshooting step to verify the build process. ```bash docker build --target test . ``` -------------------------------- ### Running Byparr via Docker Source: https://github.com/thephaseless/byparr/blob/main/README.md This command runs the latest stable Byparr Docker image, mapping the container's port 8191 to the host's port 8191. This makes the Byparr API accessible on the host machine. ```bash docker run -p 8191:8191 ghcr.io/thephaseless/byparr:latest ``` -------------------------------- ### Running Pytest Tests with uv Source: https://github.com/thephaseless/byparr/blob/main/README.md This command executes the project's tests using pytest via the uv runner. The `--retries 3` flag attempts each test up to 3 times before marking it as failed. `-n auto` can be added for parallel execution. ```bash uv run pytest --retries 3 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.