feat(ci): Ajoute PHP 8.3 et .env.test au workflow
This commit is contained in:
15
.github/workflows/install-deps.yml
vendored
15
.github/workflows/install-deps.yml
vendored
@@ -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 ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user