You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* bump postgres and mysql DB versions
* posgres test against v10
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Copy file name to clipboardexpand all lines: integrations/README_ZH.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ make test-sqlite
26
26
## 如何使用 mysql 数据库进行集成测试
27
27
首先在docker容器里部署一个 mysql 数据库
28
28
```
29
-
docker run -e "MYSQL_DATABASE=test" -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" -p 3306:3306 --rm --name mysql mysql:5.7 #(just ctrl-c to stop db and clean the container)
29
+
docker run -e "MYSQL_DATABASE=test" -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" -p 3306:3306 --rm --name mysql mysql:8 #(just ctrl-c to stop db and clean the container)
30
30
```
31
31
之后便可以基于这个数据库进行集成测试
32
32
```
@@ -36,7 +36,7 @@ TEST_MYSQL_HOST=localhost:3306 TEST_MYSQL_DBNAME=test TEST_MYSQL_USERNAME=root T
36
36
## 如何使用 pgsql 数据库进行集成测试
37
37
同上,首先在 docker 容器里部署一个 pgsql 数据库
38
38
```
39
-
docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:9.5 #(just ctrl-c to stop db and clean the container)
39
+
docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:13 #(just ctrl-c to stop db and clean the container)
0 commit comments