Update actions and phpunit config

This commit is contained in:
DariusIII
2023-04-04 23:03:29 +02:00
parent 65fcf5d7a9
commit 3b02e32bc3
2 changed files with 13 additions and 2 deletions
+11
View File
@@ -6,6 +6,17 @@ jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
services:
mysql:
image: mariadb:10
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: TEST
MYSQL_USER: TEST
MYSQL_PASSWORD: TEST
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3