File: testall.sh

package info (click to toggle)
dosage 3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,400 kB
  • sloc: python: 12,703; sh: 55; makefile: 6
file content (18 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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 PySocks
pip install --no-warn-script-location --user -e '.[compression,dev]'

TESTALL=1 python3 -m pytest -v --cov=. --cov-report xml \
    --alluredir=allure-data \
    --tb=short -n10 --junitxml=junit.xml \
    tests/modules/check_comics.py || true