From 09883d0c87b7eb8b0b741cc73c5553392a961416 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 11 May 2024 08:21:24 +0200 Subject: [PATCH] enable bookworm tests --- manifest.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index a16a6ef..26b4361 100644 --- a/manifest.toml +++ b/manifest.toml @@ -80,7 +80,13 @@ ram.runtime = "150M" main.default = 8484 [resources.apt] - packages = "python3.9, python3.9-venv" + packages_from_raw_bash = """ + if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then + echo "python3.9, python3.9-venv"; + elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then + echo "python3.11, python3.11-venv"; + fi + """ extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"