diff --git a/README.rst b/README.rst index 846f2ef..b6c6e9b 100644 --- a/README.rst +++ b/README.rst @@ -82,6 +82,7 @@ fixture is known to work all the way back to v11. If you are already running inside Docker you will need to start the container with `--network-"host"` so that 127.0.0.1 routes to the started PG containers. You will need to do up to two extra things: + 1. Bind mount /var/run/docker.sock to the container so docker clients can create sibling containers on the host. 2. If you cannot use host networking, supply the IP address of the diff --git a/pyproject.toml b/pyproject.toml index 2cf0ff5..dc09a7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,9 @@ scripts.debug = ["python -m testtools.run discover -v -s dbtesttools/tests -t {r scripts.py3 = ["stestr run --concurrency 2 -t dbtesttools/tests --top-dir {root} {args}"] scripts.formatcheck = [ "ruff format --check dbtesttools", - "ruff check --select I --show-fixes dbtesttools" + "ruff check --select I --show-fixes dbtesttools", + "hatch build", + "twine check dist/*", ] scripts.format = [ "ruff check --select I --fix-only --show-fixes dbtesttools",