mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Temporary workaround for piuparts bug #1010967. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
19 lines
747 B
Plaintext
19 lines
747 B
Plaintext
#
|
|
# Smoke test to check various basics on an installed version of Plinth. This
|
|
# checks that the following aspects are working okay:
|
|
# - Python runtime
|
|
# - Python library dependencies
|
|
# - FreedomBox configuration
|
|
# - Ability to create and initialize database
|
|
# - Module inititailzation for essential modules
|
|
#
|
|
Test-Command: plinth --list-apps 2> /dev/null
|
|
Restrictions: needs-root, breaks-testbed
|
|
|
|
#
|
|
# Run unit and integration tests on installed files.
|
|
#
|
|
Test-Command: PYTHONPATH='/usr/lib/python3/dist-packages/' py.test-3 -p no:cacheprovider --cov=plinth --cov-report=html:debci/htmlcov --cov-report=term
|
|
Depends: e2fsprogs, git, python3-pytest, python3-pytest-cov, python3-pytest-django, python3-tomli, @
|
|
Restrictions: breaks-testbed
|