File: test

package info (click to toggle)
mkautodoc 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: python: 289; sh: 52; makefile: 4
file content (15 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -ex

PROJECT="mkautodoc"
export PYTHONPATH=tests/mocklib

if [ -d 'venv' ] ; then
    BIN_PATH="venv/bin/"
else
    BIN_PATH=""
fi

scripts/lint --check
${BIN_PATH}pytest tests --cov=${PROJECT} --cov=tests --cov-report=
${BIN_PATH}coverage html
${BIN_PATH}coverage report --show-missing