ci: install php-xml/php-mbstring for phpunit/phpstan (bookworm php-cli lacks dom/mbstring/xml)
All checks were successful
CI / php-lint (push) Successful in 23s
CI / static-tests (push) Successful in 41s
CI / secret-scan (pull_request) Successful in 13s
CI / secret-scan (push) Successful in 9s
CI / php-lint (pull_request) Successful in 27s
CI / static-tests (pull_request) Successful in 37s
CI / auto-merge (push) Has been skipped
CI / auto-merge (pull_request) Has been skipped
All checks were successful
CI / php-lint (push) Successful in 23s
CI / static-tests (push) Successful in 41s
CI / secret-scan (pull_request) Successful in 13s
CI / secret-scan (push) Successful in 9s
CI / php-lint (pull_request) Successful in 27s
CI / static-tests (pull_request) Successful in 37s
CI / auto-merge (push) Has been skipped
CI / auto-merge (pull_request) Has been skipped
This commit is contained in:
parent
e265b0cb92
commit
56d0b941e8
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ jobs:
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo "phpstan.neon detected - running PHPStan ${PHPSTAN_VERSION} via .phar"
|
echo "phpstan.neon detected - running PHPStan ${PHPSTAN_VERSION} via .phar"
|
||||||
apt-get update -qq && apt-get install -y -qq php-cli curl ca-certificates >/dev/null
|
apt-get update -qq && apt-get install -y -qq php-cli php-xml php-mbstring curl ca-certificates >/dev/null
|
||||||
# PHPUnit phar present pour que phpstan.neon (scanDirectories phar://phpunit.phar)
|
# PHPUnit phar present pour que phpstan.neon (scanDirectories phar://phpunit.phar)
|
||||||
# resolve les symboles PHPUnit\Framework\* utilises sous tests/.
|
# resolve les symboles PHPUnit\Framework\* utilises sous tests/.
|
||||||
curl -sSL "https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar" -o phpunit.phar
|
curl -sSL "https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar" -o phpunit.phar
|
||||||
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo "phpunit.xml + tests/ detected - running PHPUnit ${PHPUNIT_VERSION} via .phar"
|
echo "phpunit.xml + tests/ detected - running PHPUnit ${PHPUNIT_VERSION} via .phar"
|
||||||
apt-get update -qq && apt-get install -y -qq php-cli curl ca-certificates >/dev/null
|
apt-get update -qq && apt-get install -y -qq php-cli php-xml php-mbstring curl ca-certificates >/dev/null
|
||||||
curl -sSL "https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar" -o phpunit.phar
|
curl -sSL "https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar" -o phpunit.phar
|
||||||
php phpunit.phar --version
|
php phpunit.phar --version
|
||||||
php phpunit.phar -c phpunit.xml
|
php phpunit.phar -c phpunit.xml
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue