cryptography/.github/downstream.d/paramiko.sh
Paul Kehrer 226ff0c364
retry paramiko tests if they fail (#6572)
* retry paramiko tests if they fail

flaky tests are so annoying

* comment
2021-11-08 23:58:54 -05:00

19 lines
403 B
Bash
Executable file

#!/bin/bash -ex
case "${1}" in
install)
git clone --depth=1 https://github.com/paramiko/paramiko
cd paramiko
git rev-parse HEAD
pip install -e .
pip install -r dev-requirements.txt
;;
run)
cd paramiko
# https://github.com/paramiko/paramiko/issues/1927
inv test || inv test
;;
*)
exit 1
;;
esac