blob: 1ae5717bed54429bab14928e7d33299777c7d619 [file] [edit]
#!/bin/bash -ex
case "${1}" in
install)
cd certbot
uv pip install pip
tools/pip_install.py -e ./acme[test]
tools/pip_install.py -e ./certbot[test]
uv pip install -U pyopenssl
;;
run)
cd certbot
# Ignore some warnings for now since they're now automatically promoted
# to errors. We can probably remove this when acme gets split into
# its own repo
pytest -Wignore certbot
pytest acme
;;
*)
exit 1
;;
esac