File size: 426 Bytes
f9dd82f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/env sh
set -eu
cd "$(dirname "$0")/.."
python -m py_compile app.py inference.py root_env.py submission_common.py
python inference.py --task email_classification --scenario-id easy_invoice_copy >/tmp/email_triage_inference_check.json
export PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
python -m pytest email-triage-env/tests -q
sh scripts/smoke_test.sh
if command -v openenv >/dev/null 2>&1; then
openenv validate .
fi
|