From bad57e8688b97f01011978be124ca1a9b15eec82 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Mon, 23 Aug 2021 13:25:32 -0400 Subject: [PATCH] Try running update-alternatives for php 7.2 as before system-setup --- .github/workflows/run-tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d283790a..46f941f6 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,9 +10,12 @@ jobs: steps: - uses: actions/checkout@v2 # without nanasess/setup-pup setup/webmail.sh returns "Unsupported PHP version. Required PHP >= 5.4 and < 8.0", which is generated by roundcubemail/program/include/iniset.php indicating that PHP >= 8.0 - - uses: nanasess/setup-php@master - with: - php-version: '7.2' + # However, setup/zpush.sh then fails to install package "php-xsl" with "E: Package 'php-xsl' has no installation candidate" + # - uses: nanasess/setup-php@master + # with: + # php-version: '7.2' + - name: update-system-php + run: sudo update-alternatives --set php /usr/bin/php7.2 - name: setup run: sudo -E tests/system-setup/remote-nextcloud-docker.sh upgrade basic - name: test-runner