doctrine / dbal

Doctrine Database Abstraction Layer
https://www.doctrine-project.org/projects/dbal.html
MIT License
9.48k stars 1.34k forks source link

Code coverage is not collected on Oracle builds #4075

Closed morozov closed 4 years ago

morozov commented 4 years ago

Problem

  1. ContinuousPHP does not integrate with CodeCov or Coveralls. Given the quality of their technical support and out of date documentation, I'm not even going to file an issue. Especially because the trust between the services needs to be on both ends.
  2. We don't run tests for pdo_oci at all since after fixing the extension installation in https://github.com/doctrine/dbal/pull/3720, it's broken again. The documentation is outdated and still suggests to use PHPBrew to install extensions.

Migration challenges

There's no purely legal way to install an Oracle database in a public CI environment (see https://github.com/wnameless/docker-oracle-xe-11g/issues/118, https://github.com/oracle/docker-images/issues/1156) but there's a lot of bootleg distributions available including GitHub.

UPD: https://hub.docker.com/r/wnameless/oracle-xe-11g-r2/ looks alive and kicking so far.

For example, the IBM DB2 client library that our builds depend on is also publicly unavailable but we've been successfully using a copy distributed by a third-party since 2018.

Additional resources

morozov commented 4 years ago

As of v2.4.0, shivammathur/setup-php supports installing the oci8 and pdo_oci extensions.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.