Skip to content

Commit 2218083

Browse files
committed
Testing
1 parent 3942972 commit 2218083

File tree

2 files changed

+48
-25
lines changed

2 files changed

+48
-25
lines changed

.github/actions/apt-x64/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ runs:
1818
apt-get install -y sudo
1919
fi
2020
21-
sudo apt-get update -y | true
22-
sudo apt-get install -y \
21+
apt-get update -y | true
22+
apt-get install -y \
2323
autoconf \
2424
gcc \
25+
git \
2526
make \
2627
curl \
2728
unzip \

.github/workflows/nightly.yml

Lines changed: 45 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030
contents: read
3131
jobs:
3232
ALPINE:
33-
if: inputs.run_alpine
33+
if: false
3434
name: ALPINE_X64_ASAN_UBSAN_DEBUG_ZTS
3535
runs-on: ubuntu-22.04
3636
container:
@@ -85,6 +85,7 @@ jobs:
8585
token: ${{ secrets.ACTION_MONITORING_SLACK }}
8686

8787
LINUX_X64:
88+
if: false
8889
services:
8990
mysql:
9091
image: mysql:8.3
@@ -218,6 +219,7 @@ jobs:
218219
with:
219220
token: ${{ secrets.ACTION_MONITORING_SLACK }}
220221
LINUX_X32:
222+
if: false
221223
strategy:
222224
fail-fast: false
223225
matrix:
@@ -294,6 +296,7 @@ jobs:
294296
with:
295297
token: ${{ secrets.ACTION_MONITORING_SLACK }}
296298
MACOS:
299+
if: false
297300
strategy:
298301
fail-fast: false
299302
matrix:
@@ -355,7 +358,8 @@ jobs:
355358
with:
356359
token: ${{ secrets.ACTION_MONITORING_SLACK }}
357360
COVERAGE_DEBUG_NTS:
358-
if: inputs.branch == 'master'
361+
if: false
362+
# if: inputs.branch == 'master'
359363
services:
360364
mysql:
361365
image: mysql:8.3
@@ -421,14 +425,24 @@ jobs:
421425
with:
422426
token: ${{ secrets.ACTION_MONITORING_SLACK }}
423427
COMMUNITY:
428+
services:
429+
mysql:
430+
image: mysql:8.3
431+
ports:
432+
- 3306:3306
433+
env:
434+
MYSQL_DATABASE: test
435+
MYSQL_ROOT_PASSWORD: root
424436
strategy:
425437
fail-fast: false
426438
matrix:
427-
type: ['asan', 'verify_type_inference']
439+
type: ['asan']
428440
exclude:
429441
- type: ${{ !inputs.community_verify_type_inference && 'verify_type_inference' || '*never*' }}
430442
name: "COMMUNITY_${{ matrix.type }}"
431443
runs-on: ubuntu-${{ inputs.ubuntu_version }}
444+
container:
445+
image: ubuntu:${{ inputs.ubuntu_version }}
432446
env:
433447
ASAN_OPTIONS: exitcode=139
434448
UBSAN_OPTIONS: print_stacktrace=1
@@ -455,9 +469,11 @@ jobs:
455469
uses: ./.github/actions/install-linux
456470
- name: Setup
457471
run: |
458-
sudo service mysql start
459-
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
460-
mysql -uroot -proot -e "SET GLOBAL local_infile = true"
472+
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
473+
php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
474+
php composer-setup.php
475+
php -r "unlink('composer-setup.php');"
476+
mv composer.phar /usr/bin/composer
461477
- name: Enable Opcache
462478
run: |
463479
echo memory_limit=-1 >> /etc/php.d/opcache.ini
@@ -483,7 +499,8 @@ jobs:
483499
echo opcache.jit_hot_side_exit=1 >> /etc/php.d/opcache.ini
484500
php -v
485501
- name: Test AMPHP
486-
if: always()
502+
if: false
503+
# if: always()
487504
run: |
488505
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
489506
X=0
@@ -501,7 +518,8 @@ jobs:
501518
done
502519
exit $X
503520
- name: Test Laravel
504-
if: always()
521+
if: false
522+
# if: always()
505523
run: |
506524
git clone https://github.com/laravel/framework.git --branch=master --depth=1
507525
cd framework
@@ -514,7 +532,8 @@ jobs:
514532
exit 1
515533
fi
516534
- name: Test ReactPHP
517-
if: always()
535+
if: false
536+
# if: always()
518537
run: |
519538
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
520539
X=0
@@ -532,7 +551,8 @@ jobs:
532551
done
533552
exit $X
534553
- name: Test Revolt PHP
535-
if: always()
554+
if: false
555+
# if: always()
536556
run: |
537557
git clone https://github.com/revoltphp/event-loop.git --depth=1
538558
cd event-loop
@@ -555,16 +575,10 @@ jobs:
555575
# Buggy FFI test in Symfony, see https://github.com/symfony/symfony/issues/47668
556576
php -r '$c = file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php"); $c = str_replace("public function testCastNonTrailingCharPointer()", "/** @group skip */\n public function testCastNonTrailingCharPointer()", $c); file_put_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php", $c);'
557577
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
558-
X=0
559-
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
560-
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
561-
if [ ${EXIT_CODE:-0} -gt 128 ]; then
562-
X=1;
563-
fi
564-
done
565-
exit $X
578+
php ./phpunit src/Symfony/Bundle/WebProfilerBundle
566579
- name: Test PHPUnit
567-
if: always()
580+
if: false
581+
# if: always()
568582
run: |
569583
git clone https://github.com/sebastianbergmann/phpunit.git --branch=main --depth=1
570584
cd phpunit
@@ -575,15 +589,17 @@ jobs:
575589
exit 1
576590
fi
577591
- name: 'Symfony Preloading'
578-
if: always()
592+
if: false
593+
# if: always()
579594
run: |
580595
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs
581596
cd symfony_demo
582597
git rev-parse HEAD
583598
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
584599
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
585600
- name: Test Wordpress
586-
if: always()
601+
if: false
602+
# if: always()
587603
run: |
588604
git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
589605
cd wordpress
@@ -598,11 +614,13 @@ jobs:
598614
exit 1
599615
fi
600616
- name: Notify Slack
601-
if: failure()
617+
if: false
618+
# if: failure()
602619
uses: ./.github/actions/notify-slack
603620
with:
604621
token: ${{ secrets.ACTION_MONITORING_SLACK }}
605622
OPCACHE_VARIATION:
623+
if: false
606624
services:
607625
mysql:
608626
image: mysql:8.3
@@ -694,6 +712,7 @@ jobs:
694712
with:
695713
token: ${{ secrets.ACTION_MONITORING_SLACK }}
696714
MSAN:
715+
if: false
697716
name: MSAN
698717
runs-on: ubuntu-${{ inputs.ubuntu_version }}
699718
steps:
@@ -786,6 +805,7 @@ jobs:
786805
with:
787806
token: ${{ secrets.ACTION_MONITORING_SLACK }}
788807
LIBMYSQLCLIENT:
808+
if: false
789809
name: LIBMYSQLCLIENT
790810
runs-on: ubuntu-${{ inputs.ubuntu_version }}
791811
steps:
@@ -831,7 +851,8 @@ jobs:
831851
with:
832852
token: ${{ secrets.ACTION_MONITORING_SLACK }}
833853
PECL:
834-
if: inputs.branch == 'master'
854+
if: false
855+
# if: inputs.branch == 'master'
835856
runs-on: ubuntu-22.04
836857
env:
837858
CC: ccache gcc
@@ -943,6 +964,7 @@ jobs:
943964
with:
944965
token: ${{ secrets.ACTION_MONITORING_SLACK }}
945966
WINDOWS:
967+
if: false
946968
strategy:
947969
fail-fast: false
948970
matrix:

0 commit comments

Comments
 (0)