Skip to content

Commit

Permalink
[BUGFIX] Setup mysql server in docker container
Browse files Browse the repository at this point in the history
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
  • Loading branch information
andreaskienast committed Apr 23, 2021
1 parent cd8a00a commit ef72282
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
mysql version: ${{ matrix.mysql }}
mysql root password: 'root'

- name: Set up PHP version ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit ef72282

Please sign in to comment.