tests/modules/testall.sh
raw| 1 | #!/bin/sh |
| 2 | if ! [ "$container" ] |
| 3 | then |
| 4 | echo 'ERROR: Not running inside a container!' |
| 5 | exit 1 |
| 6 | fi |
| 7 | set -eu |
| 8 | |
| 9 | HOME="/tmp/home" |
| 10 | mkdir -p "$HOME" |
| 11 | cd /work |
| 12 | pip install --no-warn-script-location --user PySocks |
| 13 | pip install --no-warn-script-location --user -e '.[compression,dev]' |
| 14 | |
| 15 | TESTALL=1 python3 -m pytest -v --cov=. --cov-report xml \ |
| 16 | --alluredir=allure-data \ |
| 17 | --tb=short -n10 --junitxml=junit.xml \ |
| 18 | tests/modules/check_comics.py || true |