Uniglot/Hooks/scripts.d/pytest

9 lines
105 B
Bash
Executable File

#!/bin/bash
# Run python3 tests
if [ -d venv ]; then
source venv/bin/activate
fi
python3 -m pytest