mirror of
https://github.com/YunoHost-Apps/matrix-appservice-irc_ynh.git
synced 2024-09-03 19:36:37 +02:00
54 lines
2 KiB
TOML
54 lines
2 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
|
|
|
|
test_format = 1.0
|
|
|
|
[default]
|
|
|
|
# ------------
|
|
# Tests to run
|
|
# ------------
|
|
|
|
# For special usecases, sometimes you need to setup other things on the machine
|
|
# prior to installing the app (such as installing another app)
|
|
# (Remove this key entirely if not needed)
|
|
preinstall = """
|
|
sudo yunohost tools update apps
|
|
sudo yunohost app install https://github.com/YunoHost-Apps/synapse_ynh \
|
|
-a "domain=$domain&server_name=$server_name&is_free_registration=$is_free_registration&jitsi_server=$jitsi_server" --force
|
|
"""
|
|
|
|
# -------------------------------
|
|
# Default args to use for install
|
|
# -------------------------------
|
|
|
|
# By default, the CI will automagically fill the 'standard' args
|
|
# such as domain, path, admin, is_public and password with relevant values
|
|
# and also install args with a "default" provided in the manifest..
|
|
# It should only make sense to declare custom args here for args with no default values
|
|
|
|
args.botadmin = "@johndoe:server.name"
|
|
args.botusers = "server.name"
|
|
|
|
# -------------------------------
|
|
# Commits to test upgrade from
|
|
# -------------------------------
|
|
|
|
# test_upgrade_from.1d57a3b.name = "Upgrade from 0.7.2" # After config panel was implemented
|
|
# test_upgrade_from.ede12ed.name = "Upgrade from 0.8.0"
|
|
|
|
|
|
# # This is an additional test suite
|
|
# [multiple_botusers]
|
|
|
|
# preinstall = """
|
|
# sudo yunohost tools update apps
|
|
# sudo yunohost app install https://github.com/YunoHost-Apps/synapse_ynh \
|
|
# -a "domain=$domain&server_name=$server_name&is_free_registration=$is_free_registration&jitsi_server=$jitsi_server" --force
|
|
# """
|
|
|
|
# # On additional tests suites, you can decide to run only specific tests
|
|
|
|
# only = ["install.subdir"]
|
|
|
|
# args.botadmin = "@johndoe:server.name"
|
|
# args.botusers = "@john:server.name,@jdoe:server.name,@janedoe:server.name"
|