| 1 |
Configure your machine for integrations tests |
| 2 |
--------------------------------------------- |
| 3 |
|
| 4 |
|
| 5 |
You need a local docker server running as well as mariab-server. |
| 6 |
|
| 7 |
Run the following statement in MySQL to allow root user to connect |
| 8 |
and to create required test databases. |
| 9 |
|
| 10 |
UPDATE user SET plugin="" WHERE Host="localhost" AND User="root"; |
| 11 |
FLUSH PRIVILEGES; |
| 12 |
|
| 13 |
CREATE DATABASE test_pymysql; |
| 14 |
CREATE DATABASE test_pymysql2; |
| 15 |
|
| 16 |
You can now build the package like this: |
| 17 |
|
| 18 |
DEB_BUILD_PROFILES="pkg.aiomysql.integrationtests" debuild -sa |
| 19 |
|
| 20 |
|
| 21 |
-- Adam Cecile <[email protected]> Thu, 04 Jul 2019 19:03:11 +0200 |