10 lines
269 B
Bash
10 lines
269 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
if [[ -n "${LIBRARY_VERSION:-}" ]]; then
|
|
python -m pip install "remove-ai-watermarks[all,classify-onnx,text-draft]==$LIBRARY_VERSION" pytest
|
|
else
|
|
python -m pip install --requirement requirements.txt pytest
|
|
fi
|
|
python -m pytest
|