mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-11-24 22:36:08 +01:00
Make sql within tests on CI more robust
This commit is contained in:
parent
507176bd23
commit
bbeeea7f5c
2 changed files with 9 additions and 0 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
@ -141,6 +141,12 @@ jobs:
|
|||
mysql database: 'typo3'
|
||||
mysql root password: 'root'
|
||||
|
||||
- name: Wait for MySQL
|
||||
run: |
|
||||
while ! mysqladmin ping --host=127.0.0.1 --password=root --silent; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
- name: Install dependencies with expected TYPO3 version
|
||||
run: composer require --prefer-dist --no-progress "typo3/cms-backend:${{ matrix.typo3-version }}" "typo3/cms-core:${{ matrix.typo3-version }}" "typo3/cms-dashboard:${{ matrix.typo3-version }}"
|
||||
|
||||
|
|
|
@ -22,6 +22,9 @@ Tasks
|
|||
* Ignore PHP version when executing cs fixer.
|
||||
As cs fixer officially does not seem to support PHP 8.2 yet.
|
||||
|
||||
* Make sql within tests on CI more robust.
|
||||
Wait until server has started before executing tests.
|
||||
|
||||
Deprecation
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Reference in a new issue