Skip to content

Commit

Permalink
Add scheduled action (#169)
Browse files Browse the repository at this point in the history
* Add schedule action

* Minor fix in tests
  • Loading branch information
Aiee authored Dec 14, 2021
1 parent 9461e07 commit e448bb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 6 * * *"

jobs:
go-client:
Expand Down
2 changes: 1 addition & 1 deletion session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func TestSession_Execute(t *testing.T) {
config := PoolConfig{}
config := GetDefaultConf()
host := HostAddress{address, port}
pool, err := NewConnectionPool([]HostAddress{host}, config, DefaultLogger{})
if err != nil {
Expand Down

0 comments on commit e448bb7

Please sign in to comment.