Skip to content

Commit

Permalink
Fix trixie core_tests: we need php, mysql too
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Nov 21, 2024
1 parent 8d06cdc commit d268425
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions recipes
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,16 @@ function core_tests()
)
# CORE_TESTS_PIP_DEPENCENDIES=( )

if [[ "$DEBIAN_VERSION" == "bookworm" ]]; then
# We add php8.2-cli, mariadb-client and mariadb-server to the dependencies for test_app_resources
CORE_TESTS_APT_DEPENDENCIES+=(php8.2-cli mariadb-client mariadb-server)
# CORE_TESTS_PIP_DEPENCENDIES+=(--break-system-packages)
fi
case "$DEBIAN_VERSION" in
bookworm)
# We add php8.2-cli, mariadb-client and mariadb-server to the dependencies for test_app_resources
CORE_TESTS_APT_DEPENDENCIES+=(php8.2-cli mariadb-client mariadb-server)
;;
trixie)
# We add php8.2-cli, mariadb-client and mariadb-server to the dependencies for test_app_resources
CORE_TESTS_APT_DEPENDENCIES+=(php8.2-cli mariadb-client mariadb-server)
;;
esac

apt_yes update
apt_yes install "${CORE_TESTS_APT_DEPENDENCIES[@]}"
Expand Down

0 comments on commit d268425

Please sign in to comment.