feat: setup tests
Laravel CI-CD / Tests Unitaires (push) Failing after 17s Details
Laravel CI-CD / Build & Push Docker (push) Has been skipped Details
Laravel CI-CD / Deploy via Portainer (push) Has been skipped Details

This commit is contained in:
Leon Morival 2026-05-17 15:43:32 +02:00
parent 6b35056d2c
commit 26aeb356d8
1 changed files with 11 additions and 7 deletions

View File

@ -18,16 +18,20 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run tests - name: Run Tests
run: | uses: docker://laravelsail/php84-composer:latest
docker run --rm \ env:
-v /workspace:/app \ APP_ENV: testing
-w /app \ APP_KEY: base64:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
laravelsail/php84-composer:latest \ DB_CONNECTION: sqlite
DB_DATABASE: ":memory:"
with:
args: |
bash -c "composer install --no-interaction --ignore-platform-req=ext-intl && php artisan test" bash -c "composer install --no-interaction --ignore-platform-req=ext-intl && php artisan test"
# ========================= # =========================
# BUILD & PUSH IMAGE # BUILD & PUSH IMAGE
# ========================= # =========================