From 045ca4ee018ae5a0bed1dbc3dd07e70826ab94c0 Mon Sep 17 00:00:00 2001 From: Leon Date: Thu, 12 Mar 2026 15:11:43 +0100 Subject: [PATCH] try fix --- .gitea/workflows/deploy.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ccf69cd..78a3b58 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -5,17 +5,24 @@ on: branches: [ "main" ] jobs: - test: - name: "Tests Unitaires" - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Run Tests - uses: docker://laravelsail/php84-composer:latest - with: - args: bash -c "composer install --no-interaction && php artisan test" +test: + name: "Tests Unitaires" + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run Tests + uses: docker://laravelsail/php84-composer:latest + env: + APP_ENV: testing + APP_KEY: base64:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + DB_CONNECTION: sqlite + DB_DATABASE: ":memory:" + with: + # AJOUT de --ignore-platform-req=ext-intl + args: | + bash -c "composer install --no-interaction --ignore-platform-req=ext-intl && php artisan test" build: name: "Build & Push Docker" needs: test