scalar-meta-hackathon / scripts /ci_validate.sh
RealBhupesh
Tighten root submission packaging
f9dd82f
Raw
History Blame Contribute Delete
426 Bytes
#!/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