php-src icon indicating copy to clipboard operation
php-src copied to clipboard

`oci8` / `pdo_oci` exts are not tested in CI

Open mvorisek opened this issue 4 years ago • 4 comments

Description

it seems oci8 / pdo_oci exts are built, but not tested in CI, at least there is zero coverage

for some reasons, they are not displayed as SKIP

also, in the CI output I see a lot of lines like:

SKIP PDO Common: PDO::FETCH_ASSOC [ext/pdo/tests/pdo_001.phpt] reason: no driver
SKIP PDO_Firebird: bug 73087 segfault binding blob parameter [ext/pdo_firebird/tests/bug_73087.phpt] reason: : PDO_FIREBIRD_TEST_DSN must be set
SKIP FIREBIRD PDO Common: PDO::FETCH_NUM [ext/pdo_firebird/tests/pdo_002.phpt] reason: SQLSTATE[HY000] [335544721] Unable to complete network request to host "localhost".
SKIP DBA DB1 handler test [ext/dba/tests/dba_db1.phpt] reason: DB1 handler not available
SKIP pspell configs [ext/pspell/tests/004.phpt] reason: English dictionary is not available

and I belive all should be tested instead of skipped

also sapi/cli/php_cli_server.c file has zero coverage

mvorisek avatar Apr 12 '22 06:04 mvorisek

Well, this is mostly a licensing issue. I can remember that this topic came up a while ago, and that there was hope regarding some free testing licenses, but wouldn't know if that happened in the meantime. Maybe @cjbj knows.

cmb69 avatar Apr 12 '22 09:04 cmb69

there is very good gvenzl/oracle-xe:18 Docker image freely available, we use it in our CI pipelines and also Doctrine DBAL project uses it

mvorisek avatar Apr 12 '22 10:04 mvorisek

As of last week you can use gvenzl/oracle-xe:slim to get Oracle DB 21.3

Also podman pull container-registry.oracle.com/database/express:latest will pull DB 21.3 XE without needing clickthrough.

cjbj avatar Apr 12 '22 11:04 cjbj

https://github.com/php/php-src/pull/8348 was merged, issue is fixed.

mvorisek avatar Aug 25 '22 12:08 mvorisek