Moar tests.toml

This commit is contained in:
Alexandre Aubin 2023-01-20 00:29:36 +01:00 committed by GitHub
parent d2529fee7e
commit 7aa254d9fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,8 +26,7 @@ Usage:
For a package in a directory: `./package_check.sh APP_ynh` For a package in a directory: `./package_check.sh APP_ynh`
For a package on GitHub: `./package_check.sh https://github.com/YunoHost-Apps/APP_ynh` For a package on GitHub: `./package_check.sh https://github.com/YunoHost-Apps/APP_ynh`
You need to provide, at the root of the package, a `check_process` file to help the script to test the package with the correct arguments. The app is expected to contain a `tests.toml` file (see below) to tell package_check what tests to run (though most of it is guessed automagically)
If this file is not present, package_check will be used in downgraded mode. It will try to retrieve domain, path and admin user arguments in the manifest and execute some tests, based on the arguments it can find.
## Usage ## Usage