Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JosueUPT committed Dec 11, 2024
1 parent 1a0dea1 commit 9e44a8e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ jobs:
- name: Run test suite with coverage
run: |
echo "Configurando cobertura..."
mkdir -p public/coverage
mkdir -p coverage
echo "Ejecutando PHPUnit con configuración local..."
XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html public/coverage || true
XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml || true
echo "Copiando reportes a public..."
mkdir -p public/coverage
cp -r coverage/html/* public/coverage/
# Verificar la generación
if [ -d "public/coverage" ] && [ -f "public/coverage/index.html" ]; then
Expand Down

0 comments on commit 9e44a8e

Please sign in to comment.