Commit Graph

12 Commits

Author SHA1 Message Date
silverqx
2cb8bb9b4b use tom migrations in unit tests for PostgreSQL 💪
- added fixPostgresSequences() to our tom seeder
 - added PostgreSQL connection to tom_testdata
 - updated msvc workflow
 - tom, throw if empty connection only if exactly one connection
   provided
 - also updated create_and_seed_database.php script to exclude postgres
   connection using --skip-postgres-migrate command-line parameter
2022-05-23 16:11:30 +02:00
silverqx
488037b33a used our seeder in workflows 🎉💪 2022-05-18 09:40:45 +02:00
silverqx
158f833293 updated error message 2022-05-18 09:01:23 +02:00
silverqx
28067cc10f whitespace 2022-05-17 17:15:05 +02:00
silverqx
5524407a23 whitespaces 2022-05-17 17:10:31 +02:00
silverqx
285f654278 bugfix in skip-mysql-migrate condition 2022-05-12 13:01:11 +02:00
silverqx
3b05cd1bed used own tom migrations in unit tests 🎉 2022-05-12 12:25:22 +02:00
silverqx
b816c932dc removed unused code 2022-05-12 10:20:02 +02:00
silverqx
09592a7732 added GitHub Actions Linux, MSYS2 UCRT64, MSVC
- initial g++/clang build, ctest on MSYS2 UCRT64 on Windows Server 2022
 - initial cmake build/ctest on Ubuntu 20.40
 - initial cmake build/ctest on MSVC on Windows Server 2019

changed driver to QPSQL in tst_databasemanager

This avoids crash when QMYSQL driver's dll is unavailable.
QMYSQL driver is not shipped by default by Qt Windows MSVC installer.
2021-12-08 12:27:25 +01:00
silverqx
a71ba16800 fixed phpstorm warnings 2021-11-24 14:47:26 +01:00
silverqx
b19b88228f enhanced db seeder
When env. variables for some connection was not defined then do not
create/seed database for this connection.

 - connection to the database eagerly, before seeding starts
2021-11-24 14:39:28 +01:00
silverqx
0a433d3b4f moved testdata seeder to the tests/ folder 2021-09-04 16:36:19 +02:00