Install the SQLite ODBC driver in CI#22686
Conversation
The ext/odbc and pdo_odbc regression tests connect through a real ODBC driver (Driver=SQLite3), which was never installed, so they skipped on every lane. libsqliteodbc registers the SQLite3 driver and supports Database=:memory:, so the tests run without a database server. Alpine has no such package, so those lanes keep skipping.
|
I'll let others comment, but this looks OK to me. For FreeBSD, we can install For tests: any tests that don't rely on specific driver quirks, we should continue to use For the tests you're adding that have to rely on the SQLIte ODBC driver behaviour, we could hardcode the connection string, but it doesn't seem quite right to hardcode it (i.e. in case of different driver name in odbcinst). We could just make them use the standard ODBC test DSN env vars, and re-run ODBC tests with a different matrix? But that seems pretty complicated, so maybe I'm overthinking that. |
|
Just to keep it simple maybe add PDO_ODB_SQLITE_DSN and the new tests that rely on sqlite can use that and pre-existing keep using what is there |
The ext/odbc and pdo_odbc regression tests connect through a real ODBC driver (Driver=SQLite3), which CI never installed, so they skipped on every lane. libsqliteodbc registers the SQLite3 driver and supports Database=:memory:, so the tests run without a database server. Alpine has no such package, so those lanes keep skipping. Follow-up to the driver discussion on #22672.