Skip to content

Commit baf4145

Browse files
committed
DEBUG test only 'bcmath', 'oci8', 'pdo_oci' ext tests and 1 proc only
1 parent 7002ea9 commit baf4145

File tree

5 files changed

+3
-62
lines changed

5 files changed

+3
-62
lines changed

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,11 @@ runs:
1515
--prefix=/usr \
1616
--enable-phpdbg \
1717
--enable-fpm \
18-
--with-pdo-mysql=mysqlnd \
19-
--with-mysqli=mysqlnd \
20-
--with-pgsql \
21-
--with-pdo-pgsql \
2218
--with-pdo-sqlite \
23-
--enable-intl \
2419
--without-pear \
25-
--enable-gd \
26-
--with-jpeg \
27-
--with-webp \
28-
--with-freetype \
29-
--with-xpm \
30-
--enable-exif \
31-
--with-zip \
3220
--with-zlib \
3321
--with-zlib-dir=/usr \
34-
--enable-soap \
3522
--enable-xmlreader \
36-
--with-xsl \
37-
--with-tidy \
3823
--enable-sysvsem \
3924
--enable-sysvshm \
4025
--enable-shmop \
@@ -46,11 +31,7 @@ runs:
4631
--enable-sockets \
4732
--with-bz2 \
4833
--with-openssl \
49-
--with-gmp \
5034
--enable-bcmath \
51-
--enable-calendar \
52-
--enable-ftp \
53-
--with-pspell=/usr \
5435
--with-enchant=/usr \
5536
--with-kerberos \
5637
--enable-sysvmsg \
@@ -61,7 +42,6 @@ runs:
6142
--with-ldap-sasl \
6243
--with-password-argon2 \
6344
--with-mhash \
64-
--with-sodium \
6545
--enable-dba \
6646
--with-cdb \
6747
--enable-flatfile \
@@ -70,11 +50,6 @@ runs:
7050
--with-lmdb \
7151
--with-qdbm \
7252
--with-snmp \
73-
--with-unixODBC \
74-
--with-imap \
75-
--with-kerberos \
76-
--with-imap-ssl \
77-
--with-pdo-odbc=unixODBC,/usr \
7853
--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient \
7954
--with-oci8=shared,instantclient,/opt/oracle/instantclient \
8055
--with-config-file-path=/etc \

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ runs:
1414
mysql -uroot -proot -e "SET GLOBAL local_infile = true"
1515
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
1616
sudo -u postgres psql -c "CREATE DATABASE test;"
17-
docker exec sql1 /opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U SA -P "<YourStrong@Passw0rd>" -Q "create login pdo_test with password='password', check_policy=off; create user pdo_test for login pdo_test; grant alter, control to pdo_test;"
1817
sudo locale-gen de_DE
1918
2019
./.github/scripts/setup-slapd.sh &>/dev/null

.github/actions/test-linux/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
2626
export SKIP_IO_CAPTURE_TESTS=1
2727
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
28-
-j$(/usr/bin/nproc) \
28+
-j1 \
2929
-g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP \
3030
--offline \
3131
--show-diff \

.github/workflows/push.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ jobs:
2121
steps:
2222
- name: git checkout
2323
uses: actions/checkout@v2
24-
- name: Create MSSQL container
25-
uses: ./.github/actions/setup-mssql
2624
- name: Create Oracle container
2725
uses: ./.github/actions/setup-oracle
2826
- name: apt
@@ -47,35 +45,4 @@ jobs:
4745
runTestsParameters: >-
4846
-d zend_extension=opcache.so
4947
-d opcache.enable_cli=1
50-
-d opcache.jit_buffer_size=16M
51-
- name: Verify generated files are up to date
52-
uses: ./.github/actions/verify-generated-files
53-
MACOS_DEBUG_NTS:
54-
runs-on: macos-10.15
55-
steps:
56-
- name: git checkout
57-
uses: actions/checkout@v2
58-
- name: brew
59-
uses: ./.github/actions/brew
60-
- name: ./configure
61-
uses: ./.github/actions/configure-macos
62-
with:
63-
configurationParameters: --enable-debug --disable-zts
64-
- name: make
65-
run: |-
66-
export PATH="/usr/local/opt/bison/bin:$PATH"
67-
make -j$(sysctl -n hw.logicalcpu) >/dev/null
68-
- name: make install
69-
run: sudo make install
70-
- name: Test
71-
uses: ./.github/actions/test-macos
72-
- name: Test Tracing JIT
73-
uses: ./.github/actions/test-macos
74-
with:
75-
runTestsParameters: >-
76-
-d zend_extension=opcache.so
77-
-d opcache.enable_cli=1
78-
-d opcache.protect_memory=1
79-
-d opcache.jit_buffer_size=16M
80-
- name: Verify generated files are up to date
81-
uses: ./.github/actions/verify-generated-files
48+
-d opcache.jit_buffer_size=16M

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ function main(): void
741741
$ignored_by_ext = 0;
742742
sort($exts_to_test);
743743
$test_dirs = [];
744-
$optionals = ['Zend', 'tests', 'ext', 'sapi'];
744+
$optionals = ['ext/bcmath', 'ext/oci8', 'ext/pdo_oci'];
745745

746746
foreach ($optionals as $dir) {
747747
if (is_dir($dir)) {

0 commit comments

Comments
 (0)