pytest: move coverage flags from .gitlab-ci.yml to pytest.sh, add test_requirements.txt for pip

This commit is contained in:
InsanePrawn 2022-09-11 01:32:59 +02:00
parent 5c8f0acfcd
commit 3ea7e98a48
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
sudo -v
python -m pytest --junit-xml=pytest-report.xml -v "$@" ./*/test_*.py
python -m pytest -v --cov=. --cov-branch --cov-report=term "$@" ./*/test_*.py