File: test

package info (click to toggle)
python-djantic 0.7.0-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 476 kB
  • sloc: python: 2,599; sh: 19; makefile: 14
file content (10 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

export PREFIX=""
if [ -d "venv" ] ; then
    export PREFIX="venv/bin/"
fi

set -ex

${PREFIX}poetry run pytest --ignore .venv --cov=djantic --cov-fail-under=100 --cov-report=term-missing "${@}"