From 33c701f5ddbc840996d831304d4f6a6ed05646d4 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 8 Jan 2024 17:58:01 +0100 Subject: [PATCH] ci tests --- check_process | 33 --------------------------------- tests.toml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 33 deletions(-) delete mode 100644 check_process create mode 100644 tests.toml diff --git a/check_process b/check_process deleted file mode 100644 index 40045f7..0000000 --- a/check_process +++ /dev/null @@ -1,33 +0,0 @@ -# See here for more information -# https://github.com/YunoHost/package_check#syntax-check_process-file - -# Move this file from check_process.default to check_process when you have filled it. - -;; Test complet - ; Manifest - admin="xana" - email="user@example.com" - password="1Strong-Password" - port="8095" - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=1 - setup_nourl=0 - setup_private=0 - setup_public=1 - upgrade=1 - upgrade=1 from_commit=9a6d018337c7d83193282830ff9d9e9b0ae3a733 - upgrade=1 from_commit=2750ec2d59df9c988b7a8624104063fcf7f1c198 - backup_restore=1 - multi_instance=1 - port_already_use=1 - change_url=0 -;;; Options -Email= -Notification=none -;;; Upgrade options - ; commit=9a6d018337c7d83193282830ff9d9e9b0ae3a733 - name=0.6.0~ynh1 - ; commit=2750ec2d59df9c988b7a8624104063fcf7f1c198 - name=0.11.0~ynh1 diff --git a/tests.toml b/tests.toml new file mode 100644 index 0000000..63ef03e --- /dev/null +++ b/tests.toml @@ -0,0 +1,28 @@ +test_format = 1.0 + +[default] + +# ------------------------------- +# Default args to use for install +# ------------------------------- + +args.admin = "xana" +args.email = "ci-test@example.com" +args.password = "vYh8io7r*@P&zyo!6ZhBqQQ%8M5D4M" +# false by default +args.accounts_registration_open = 1 +# true by default +args.accounts_approval_required = 0 +args.accounts_reason_required = 0 + + +# ------------------------------- +# Commits to test upgrade from +# ------------------------------- + +test_upgrade_from.9a6d018337c7d83193282830ff9d9e9b0ae3a733.name = "Upgrade from 0.6.0~ynh1" +test_upgrade_from.2750ec2d59df9c988b7a8624104063fcf7f1c198.name = "Upgrade from 0.11.0~ynh1" + +# ------------------------------- +# additional tests suite +# -------------------------------