Skip to content

Commit 8bc5e23

Browse files
committed
Disable Laravel testing
This has been failing for months now, let's make the scheduled build status meaningful again. [ci skip]
1 parent 61b33e9 commit 8bc5e23

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

azure/community_job.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ jobs:
4848
echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
4949
echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini
5050
displayName: 'Install Build'
51-
- script: |
52-
git clone https://github.com/laravel/framework.git --branch=master --depth=1
53-
cd framework
54-
php7.3 /usr/bin/composer install --no-progress
55-
export USE_ZEND_ALLOC=0
56-
sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
57-
# Avoid test using exit(), which thus leaks.
58-
# We can use USE_TRACKED_ALLOC=1 if more of these show up.
59-
sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
60-
# Work around PHP 8 incompatibility in Doctrine
61-
sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
62-
sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
63-
sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php
64-
php vendor/bin/phpunit
65-
displayName: 'Test Laravel'
51+
#- script: |
52+
# git clone https://github.com/laravel/framework.git --branch=master --depth=1
53+
# cd framework
54+
# php7.3 /usr/bin/composer install --no-progress
55+
# export USE_ZEND_ALLOC=0
56+
# sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
57+
# # Avoid test using exit(), which thus leaks.
58+
# # We can use USE_TRACKED_ALLOC=1 if more of these show up.
59+
# sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
60+
# # Work around PHP 8 incompatibility in Doctrine
61+
# sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
62+
# sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
63+
# sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php
64+
# php vendor/bin/phpunit
65+
# displayName: 'Test Laravel'
6666
- script: |
6767
git clone https://github.com/symfony/symfony.git --depth=1
6868
cd symfony

0 commit comments

Comments
 (0)