Skip to content

Commit f2cc01c

Browse files
committed
DEBUG test only 'bcmath', 'oci8', 'pdo_oci' ext tests
1 parent edc9124 commit f2cc01c

File tree

4 files changed

+3
-61
lines changed

4 files changed

+3
-61
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 \
@@ -60,7 +41,6 @@ runs:
6041
--with-ldap-sasl \
6142
--with-password-argon2 \
6243
--with-mhash \
63-
--with-sodium \
6444
--enable-dba \
6545
--with-cdb \
6646
--enable-flatfile \
@@ -69,11 +49,6 @@ runs:
6949
--with-lmdb \
7050
--with-qdbm \
7151
--with-snmp \
72-
--with-unixODBC \
73-
--with-imap \
74-
--with-kerberos \
75-
--with-imap-ssl \
76-
--with-pdo-odbc=unixODBC,/usr \
7752
--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient \
7853
--with-oci8=shared,instantclient,/opt/oracle/instantclient \
7954
--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/workflows/push.yml

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ on:
1010
- CONTRIBUTING.md
1111
- CODING_STANDARDS.md
1212
branches:
13-
- PHP-7.4
14-
- PHP-8.0
15-
- PHP-8.1
16-
- master
13+
- '**'
1714
pull_request:
1815
branches:
1916
- '**'
@@ -32,8 +29,6 @@ jobs:
3229
steps:
3330
- name: git checkout
3431
uses: actions/checkout@v2
35-
- name: Create MSSQL container
36-
uses: ./.github/actions/setup-mssql
3732
- name: Create Oracle container
3833
uses: ./.github/actions/setup-oracle
3934
- name: apt
@@ -58,31 +53,4 @@ jobs:
5853
runTestsParameters: >-
5954
-d zend_extension=opcache.so
6055
-d opcache.enable_cli=1
61-
-d opcache.jit_buffer_size=16M
62-
MACOS_DEBUG_NTS:
63-
runs-on: macos-10.15
64-
steps:
65-
- name: git checkout
66-
uses: actions/checkout@v2
67-
- name: brew
68-
uses: ./.github/actions/brew
69-
- name: ./configure
70-
uses: ./.github/actions/configure-macos
71-
with:
72-
configurationParameters: --enable-debug --disable-zts
73-
- name: make
74-
run: |-
75-
export PATH="/usr/local/opt/bison/bin:$PATH"
76-
make -j$(sysctl -n hw.logicalcpu) >/dev/null
77-
- name: make install
78-
run: sudo make install
79-
- name: Test
80-
uses: ./.github/actions/test-macos
81-
- name: Test Tracing JIT
82-
uses: ./.github/actions/test-macos
83-
with:
84-
runTestsParameters: >-
85-
-d zend_extension=opcache.so
86-
-d opcache.enable_cli=1
87-
-d opcache.protect_memory=1
88-
-d opcache.jit_buffer_size=16M
56+
-d opcache.jit_buffer_size=16M

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ function main(): void
754754
$ignored_by_ext = 0;
755755
sort($exts_to_test);
756756
$test_dirs = [];
757-
$optionals = ['Zend', 'tests', 'ext', 'sapi'];
757+
$optionals = ['ext/bcmath', 'ext/oci8', 'ext/pdo_oci'];
758758

759759
foreach ($optionals as $dir) {
760760
if (is_dir($dir)) {

0 commit comments

Comments
 (0)