feat(ci): Ajoute PHP 8.3 et .env.test au workflow

This commit is contained in:
Serreau Jovann
2025-07-17 08:59:25 +02:00
parent 3925fa1b5d
commit b9761f1e67

View File

@@ -96,3 +96,18 @@ jobs:
docker run -d --rm --network ci-network -p 15433:6379 --name redis-ci redis:latest
echo "Waiting for services to be ready..."
sleep 15
- name: Setup PHP for testing
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: fileinfo, intl, dom, pdo, pgsql, redis, opcache, bcmath, zip
tools: symfony-cli
coverage: pcov
- name: Create .env.test file
run: |
echo "APP_ENV=test" > .env.test
echo "DATABASE_URL=${{ env.DATABASE_URL }}" >> .env.test
# ... autres variables ...