gitmirror/run-tests.sh
Jonas Rosland 06a77bb5e6 First commit
Signed-off-by: Jonas Rosland <jonas.rosland@gmail.com>
2025-03-14 09:04:43 -04:00

16 lines
No EOL
387 B
Bash
Executable file

#!/bin/bash
# Install test dependencies
pip install -r test-requirements.txt
# Run unit tests
echo "Running unit tests..."
python -m pytest tests/unit -v
# Run integration tests
echo "Running integration tests..."
python -m pytest tests/integration -v
# Run all tests with coverage
echo "Running all tests with coverage..."
python -m pytest --cov=gitmirror --cov-report=term-missing