working version
This commit is contained in:
7
test/Makefile
Normal file
7
test/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
.PHONY: test
|
||||
|
||||
test:
|
||||
docker run --rm -d -e POSTGRES_PASSWORD=postgres --name test-postgres -p 5432:5432 postgres:15.6-bookworm
|
||||
sleep 10
|
||||
PGX_DSN=postgres://postgres:postgres@127.0.0.1:5432 go test -v -cover
|
||||
docker stop test-postgres
|
Reference in New Issue
Block a user