From 2ae4d4d0b32c3d6e4a6fe8c82144bf06dc2b1568 Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Sat, 14 Oct 2023 17:21:08 +0200 Subject: [PATCH 1/2] fix for apache not being installable during tests --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fef23ad..478e574 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,6 +63,7 @@ jobs: run: | sudo add-apt-repository ppa:ondrej/php -y sudo add-apt-repository ppa:ondrej/apache2 -y + sudu apt-get update sudo apt-get install apache2 libapache2-mod-php8.0 sudo a2enmod rewrite sudo sed -i 's,^session.save_handler =.*$,session.save_handler = redis,' /etc/php/8.0/apache2/php.ini From 1e06399524b4263303fa469973e883beadbba1df Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Sat, 14 Oct 2023 17:28:45 +0200 Subject: [PATCH 2/2] remove apache PPA as it's not working --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 478e574..62296b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,8 +62,7 @@ jobs: # NOTE: update the PHP version below as well if you're updating PHP! run: | sudo add-apt-repository ppa:ondrej/php -y - sudo add-apt-repository ppa:ondrej/apache2 -y - sudu apt-get update + sudo apt-get update sudo apt-get install apache2 libapache2-mod-php8.0 sudo a2enmod rewrite sudo sed -i 's,^session.save_handler =.*$,session.save_handler = redis,' /etc/php/8.0/apache2/php.ini