tests.toml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #:schema https://raw.githubusercontent.com/YunoHost/apps/main/schemas/tests.v1.schema.json
  2. test_format = 1.0
  3. [default]
  4. # ------------
  5. # Tests to run
  6. # ------------
  7. # -------------------------------------------------------------------------------
  8. # EVERYTHING PAST THIS POINT IS OPTIONAL AND MOST LIKELY UNNECESSARY FOR NEW APPS
  9. #--------------------------------------------------------------------------------
  10. ## Conventions in this sample:
  11. ## <- An actual comment
  12. # <- uncommenting this should be a valid entry in 'tests.toml'
  13. ## NB: the tests to run are automatically deduced by the CI script according to the
  14. ## content of the app's manifest. The declarations below allow to customize which
  15. ## tests are ran, possibly add special test suite to test special args, or
  16. ## declare which commits to test upgrade from.
  17. ##
  18. ## You can also decide (though this is discouraged!) to ban/ignore some tests,
  19. ## The test IDs to be used in only/exclude statements are:
  20. ## * install.root
  21. ## * install.subdir
  22. ## * install.nourl
  23. ## * install.multi
  24. ## * backup_restore
  25. ## * upgrade
  26. ## * upgrade.someCommitId
  27. ## * change_url
  28. ## NB: you should NOT need this except if you really have a good reason...
  29. # exclude = ["install.private", "install.multi"]
  30. ## For special usecases, sometimes you need to setup other things on the machine
  31. ## prior to installing the app (such as installing another app)
  32. ## (Remove this key entirely if not needed)
  33. # preinstall = """
  34. # sudo yunohost app install foobar
  35. # sudo yunohost user list
  36. # """
  37. # -------------------------------
  38. # Default args to use for install
  39. # -------------------------------
  40. ## By default, the CI will automagically fill the 'standard' args
  41. ## such as domain, path, admin, is_public and password with relevant values
  42. ## and also install args with a "default" provided in the manifest..
  43. ## It should only make sense to declare custom args here for args with no default values
  44. ## NB: you should NOT need those lines unless for custom questions with no obvious/default value
  45. # args.language = "fr_FR"
  46. # args.multisite = 0
  47. # -------------------------------
  48. # Commits to test upgrade from
  49. # -------------------------------
  50. ## 00a1a6e7 is part of commit SHA, preferrably from 'main' branch
  51. ## that points to valid install of previous version
  52. # test_upgrade_from.00a1a6e7.name = "Upgrade from 5.4"
  53. # test_upgrade_from.00a1a6e7.args.foo = "bar"
  54. ## This is an additional test suite
  55. # [some_additional_testsuite]
  56. ## On additional tests suites, you can decide to run only specific tests
  57. # only = ["install.subdir"]
  58. # args.language = "en_GB"
  59. # args.multisite = 1