mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
18 lines
736 B
Plaintext
18 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
|
|
|
|
#
|
|
# 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-openssl, python3-pytest, python3-pytest-cov, python3-pytest-django, python3-tomli | python3-coverage (<< 6.0), @
|