2022-05-28 01:19:19 +02:00
|
|
|
#!/bin/sh
|
|
|
|
if ! [ "$container" ]
|
|
|
|
then
|
|
|
|
echo 'ERROR: Not running inside a container!'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
HOME="/tmp/home"
|
|
|
|
mkdir -p "$HOME"
|
|
|
|
cd /work
|
|
|
|
pip install --no-warn-script-location --user pytest-cov PySocks
|
|
|
|
pip install --no-warn-script-location --user -e '.[css,dev]'
|
|
|
|
|
2022-12-11 21:30:33 +01:00
|
|
|
TESTALL=1 python3 -m pytest -v --cov=. --cov-report xml \
|
2022-05-28 01:19:19 +02:00
|
|
|
--alluredir=allure-data \
|
|
|
|
--tb=short -n10 --junitxml=junit.xml \
|
2022-05-28 11:12:40 +02:00
|
|
|
tests/modules/check_comics.py || true
|
2022-05-28 01:19:19 +02:00
|
|
|
|