-
I've been developing a new and quite DB-utilizing plugin for a while now. I have some custom schema routines that are invoked for specific actions like compacting and reindexing the tables on demand. Thus, correctly handling schema versions for MySQL/PostgreSQL/SQLite is a must. And I made the effort to automate unit tests for that purpose. I use However, the unit testing action on GitHub, would deploy and run with
I am further confused, as I cannot even find any information on which PDO version covers which SQLite version 🙄 Trying to achieve a backward compatibility in the dark is kinda tough call. I am really willing to meet the minimum KB requirement- as I am really puzzled what should I do ... So, anyone, if you have some insights on the issue, please comment and advise. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Kanboard hasn't deprecated yet the support of PHP 7.4. The unit tests on GitHub Actions runs with both PHP 7.4 and PHP 8 (only for Sqlite at the moment). PHP can be compiled and linked with any version of Sqlite (libsqlite >= 3.5.0 according to the docs). Each Linux distribution will ship with slightly different versions of Sqlite. The unit tests for PHP 7.4 uses this Dockerfile. It has whatever version of Sqlite that comes with Ubuntu 20.04 LTS. |
Beta Was this translation helpful? Give feedback.
ubuntu-latest
is currently the version 22.04 according to the official GitHub documentation and it has Sqlite 3.37.2 as documented here: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#installed-apt-packagesThe PDO version doesn't matter that much. This is the version of Sqlite used during the PHP compilation process that matters. Which is often the same version as the one installed by default. You can use the phpinfo() command to find out: