mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- We don't support Debian Bullseye or older in latest versions of FreedomBox. We can drop any minimum version specifications that are only relevant on those release. Tests: - Potential issues with tomli/coverage will be caught during autopkgtests. - For version specifications, it has been verified that for each of the packages, version available in Bookworm is newer than the minimum version specification. - freedombox-setup and plinth packages don't exist on Bookworm or newer. We don't support upgrade from older version with the latest code. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
19 lines
736 B
Plaintext
19 lines
736 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: git, python3-pytest, python3-pytest-cov, python3-pytest-django, python3-tomli, @
|
|
Restrictions: breaks-testbed
|