File: run-unit-tests

package info (click to toggle)
pusimp 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: python: 990; sh: 4; makefile: 3
file content (6 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
#!/bin/bash
set -e

export PYTHONUSERBASE=.pybuild/installed_test_packages
find tests/data -mindepth 1 -maxdepth 1 -type d -exec python3 -m pip install --user --break-system-packages {} \;
python3 -P -m pytest -svv tests/unit