Skip to content

Commit

Permalink
skip multidb
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Apr 6, 2024
1 parent 3ffce63 commit 027774d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions test/multidb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type User struct {
}

func TestMultiDb(t *testing.T) {
t.Skip()
require := require.New(t)
whichDb := "pg" // 选择数据库类型,pg或mysql

Expand Down

0 comments on commit 027774d

Please sign in to comment.