Skip to content

Commit

Permalink
Add tests for PostgreSQL 14
Browse files Browse the repository at this point in the history
* Add tests for jackc/pgx driver
  • Loading branch information
lafriks committed Oct 29, 2021
1 parent 94abfa7 commit 36480ce
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: PostgreSQL
strategy:
matrix:
postgres: [9, 10, 11, 12, 13]
postgres: [9.6, 10, 11, 12, 13, 14]
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ func main() {
## Supported Driver

- github.com/lib/pq
- github.com/jackc/pgx/v4/stdlib

## Supported Database

- PostgreSQL 9, 10, 11, 12 and 13
- PostgreSQL 9.6, 10, 11, 12, 13 and 14

## Testing

Expand Down
10 changes: 10 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@ require (
github.com/go-rel/primaryreplica v0.1.0
github.com/go-rel/rel v0.28.0
github.com/go-rel/sql v0.5.0
github.com/jackc/pgx/v4 v4.13.0
github.com/lib/pq v1.10.3
github.com/stretchr/testify v1.7.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.10.0 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.1.1 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.8.1 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/serenize/snaker v0.0.0-20201027110005-a7ad2135616e // indirect
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
Loading

0 comments on commit 36480ce

Please sign in to comment.