From ef7228269322bb92922993831e1e634a4cf6998d Mon Sep 17 00:00:00 2001 From: Andreas Fernandez Date: Fri, 23 Apr 2021 14:28:49 +0200 Subject: [PATCH] [BUGFIX] Setup mysql server in docker container GitHub boots MySQL v8 in the latest Ubuntu image which is unsupported with TYPO3 v10 and PHP < 7.4. Due to this, we enforce using MySQL 5.7 in CI for now. Releases: master, 10 --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a029cdd4..d238f0c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,22 +12,29 @@ jobs: matrix: typo3: [ ^10.4, ^11.0 ] php: [ '7.4' ] + mysql: ['5.7'] include: - typo3: ^10.4 php: '7.4' + mysql: '5.7' coverage: true - typo3: ^10.4 php: '7.2' + mysql: '5.7' - typo3: ^10.4 php: '7.3' + mysql: '5.7' steps: - - name: Start database server - run: sudo /etc/init.d/mysql start - - name: Checkout Code uses: actions/checkout@v2 + - name: Set up MySQL ${{ matrix.mysql }} + uses: mirromutth/mysql-action@v1.1 + with: + mysql version: ${{ matrix.mysql }} + mysql root password: 'root' + - name: Set up PHP version ${{ matrix.php }} uses: shivammathur/setup-php@v2 with: