From 18a72bfa7b4c01f76c58d10f7449bd824e8f86dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 14 Mar 2021 19:22:03 +0100 Subject: [PATCH] Use ubuntu-1804 image for phpunit actions. --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 449f2ee5..b7b74624 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,8 @@ on: jobs: phpunit: name: PHPUnit and coverage Test (${{ matrix.php-versions }}) - runs-on: ubuntu-latest + # Ubuntu 20.04 ships MySQL 8.0 which causes problems with login, so we just use ubuntu 18.04 for now... + runs-on: ubuntu-18.04 env: APP_ENV: test @@ -38,9 +39,6 @@ jobs: - name: Start MySQL run: sudo systemctl start mysql.service - - name: Setup MySQL authentication method that PHP understands - run: sudo mysql -u root --password="root" -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY 'root';" - #- name: Setup MySQL # uses: mirromutth/mysql-action@v1.1 # with: