From 3b02e32bc3c1dc03ac4b811aeb0cd1bfacab2a6b Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 4 Apr 2023 23:03:29 +0200 Subject: [PATCH] Update actions and phpunit config --- .github/workflows/laravel.yml | 11 +++++++++++ phpunit.xml | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 42fe52b52..cd5784df0 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -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 diff --git a/phpunit.xml b/phpunit.xml index 017d0d409..b2b7cb350 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ - - + + Blacklight app