From d47322caea602cc7815a4ddea0738a60ac7d64de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Fri, 24 Feb 2023 16:47:29 +0100 Subject: [PATCH] Update test config --- check_process | 19 ------------------- manifest.toml | 4 ++-- scripts/upgrade | 2 +- tests.toml | 4 ++++ 4 files changed, 7 insertions(+), 22 deletions(-) delete mode 100644 check_process create mode 100644 tests.toml diff --git a/check_process b/check_process deleted file mode 100644 index ba22cd5..0000000 --- a/check_process +++ /dev/null @@ -1,19 +0,0 @@ -;; Default test serie - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=1 - setup_nourl=0 - setup_private=0 - upgrade=1 - upgrade=1 from_commit=2.0.1-ynh1 - upgrade=1 from_commit=2.0.0-ynh1 - upgrade=1 from_commit=1.31.0-ynh1 - # 1.30.1~ynh1 - upgrade=1 from_commit=6d7d7082971be2626d082a117cdd613a21716f61 - backup_restore=1 - multi_instance=1 - port_already_use=0 - change_url=1 - actions=0 - config_panel=0 diff --git a/manifest.toml b/manifest.toml index dac2152..1a67283 100644 --- a/manifest.toml +++ b/manifest.toml @@ -22,8 +22,8 @@ fund = "https://liberapay.com/ntfy" yunohost = ">= 11" architectures = ["amd64", "arm64", "armhf"] multi_instance = true -ldap = "false" -sso = "false" +ldap = false +sso = false disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/upgrade b/scripts/upgrade index 4634303..99f60ed 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,7 +1,7 @@ #!/bin/bash -source /usr/share/yunohost/helpers source _common.sh +source /usr/share/yunohost/helpers ynh_script_progression -m "Checking version..." -w 1 upgrade_type=$(ynh_check_app_version_changed) diff --git a/tests.toml b/tests.toml new file mode 100644 index 0000000..4d16a15 --- /dev/null +++ b/tests.toml @@ -0,0 +1,4 @@ +test_format = 1.0 + +[default] + test_upgrade_from.2.0.1-ynh1.name = "Upgrade from 2.0.1~ynh1"