Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 3c5e41a

Browse files
authored
add mysql utf8mb4 tests (#1120)
1 parent 1a7b211 commit 3c5e41a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.drone.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ pipeline:
8282
when:
8383
event: [ push, pull_request ]
8484

85+
test-mysql-utf8mb4:
86+
image: golang:${GO_VERSION}
87+
commands:
88+
- go test -v -race -db="mysql" -conn_str="root:@tcp(mysql)/xorm_test?charset=utf8mb4" -coverprofile=coverage2.1-1.txt -covermode=atomic
89+
- go test -v -race -db="mysql" -conn_str="root:@tcp(mysql)/xorm_test?charset=utf8mb4" -cache=true -coverprofile=coverage2.1-2.txt -covermode=atomic
90+
when:
91+
event: [ push, pull_request ]
92+
8593
test-mymysql:
8694
image: golang:${GO_VERSION}
8795
commands:
@@ -103,7 +111,7 @@ pipeline:
103111
commands:
104112
- go test -v -race -db="postgres" -conn_str="postgres://postgres:@pgsql/xorm_test?sslmode=disable" -schema=xorm -coverprofile=coverage5-1.txt -covermode=atomic
105113
- go test -v -race -db="postgres" -conn_str="postgres://postgres:@pgsql/xorm_test?sslmode=disable" -schema=xorm -cache=true -coverprofile=coverage5-2.txt -covermode=atomic
106-
- gocovmerge coverage1-1.txt coverage1-2.txt coverage2-1.txt coverage2-2.txt coverage3-1.txt coverage3-2.txt coverage4-1.txt coverage4-2.txt coverage5-1.txt coverage5-2.txt > coverage.txt
114+
- gocovmerge coverage1-1.txt coverage1-2.txt coverage2-1.txt coverage2-2.txt coverage2.1-1.txt coverage2.1-2.txt coverage3-1.txt coverage3-2.txt coverage4-1.txt coverage4-2.txt coverage5-1.txt coverage5-2.txt > coverage.txt
107115
when:
108116
event: [ push, pull_request ]
109117

0 commit comments

Comments
 (0)