mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Rework tests
This commit is contained in:
parent
89b70d584b
commit
2d45180171
2 changed files with 25 additions and 37 deletions
|
@ -1,37 +0,0 @@
|
|||
;; Nom du test
|
||||
auto_remove=1
|
||||
# Commentaire ignoré
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
path="/path" (PATH)
|
||||
server_name="Seafile"
|
||||
admin="john" (USER)
|
||||
admin_password="Sup3rS3cr3t" (PASSWORD)
|
||||
is_public="1" (PUBLIC|public=1|private=0)
|
||||
public_site="1" (PUBLIC|public=1|private=0)
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=99c006ca044c1f82aee6ec68d73b59dd2de52411
|
||||
upgrade=1 from_commit=cb4a6e0d02782c75cf270276667ea2f062afd051
|
||||
backup_restore=1
|
||||
multi_instance=0
|
||||
wrong_user=1
|
||||
wrong_path=1
|
||||
incorrect_path=1
|
||||
corrupt_source=1
|
||||
fail_download_source=1
|
||||
port_already_use=1 (8000)
|
||||
final_path_already_use=1
|
||||
change_url=1
|
||||
|
||||
;;; Upgrade options
|
||||
; commit=99c006ca044c1f82aee6ec68d73b59dd2de52411
|
||||
name=Version 7.1 Old version for CI 4 branch
|
||||
; commit=cb4a6e0d02782c75cf270276667ea2f062afd051
|
||||
name=Version 8.x Old version for CI 5 branch
|
25
tests.toml
Normal file
25
tests.toml
Normal file
|
@ -0,0 +1,25 @@
|
|||
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
|
||||
|
||||
test_format = 1.0
|
||||
|
||||
[default]
|
||||
|
||||
# ------------
|
||||
# Tests to run
|
||||
# ------------
|
||||
|
||||
|
||||
# -------------------------------
|
||||
# Default args to use for install
|
||||
# -------------------------------
|
||||
|
||||
args.server_name = "Seafile"
|
||||
args.admin_password = "Sup3rS3cr3t"
|
||||
|
||||
# -------------------------------
|
||||
# Commits to test upgrade from
|
||||
# -------------------------------
|
||||
|
||||
test_upgrade_from.ebe126a.name = "Pre packaging v2"
|
||||
test_upgrade_from.99c006ca.name = "Version 7.1 Old version for CI 4 branch"
|
||||
test_upgrade_from.cb4a6e0d.name = "Version 8.x Old version for CI 5 branch"
|
Loading…
Reference in a new issue