Skip to content

Commit 69efb4c

Browse files
committed
Run mysql tests in CI
1 parent adb0e76 commit 69efb4c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ jobs:
2323

2424
- name: Test
2525
run: go test -short -v ./...
26+
27+
- name: MySQL Tests
28+
run: |
29+
sudo /etc/init.d/mysql start
30+
go test -v ./...

pkg/backend/mysql/mysql_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const testUser = "root"
16-
const testPassword = "SqlPassw0rd"
16+
const testPassword = "root"
1717

1818
// Creating and dropping databases is terribly inefficient, but easiest for complete test isolation. For
1919
// the future consider nested transactions, or manually TRUNCATE-ing the tables in-between tests.

0 commit comments

Comments
 (0)