Codebase list matrix-synapse / upstream/1.26.0 test_postgresql.sh
upstream/1.26.0

Tree @upstream/1.26.0 (Download .tar.gz)

test_postgresql.sh @upstream/1.26.0raw · history · blame

#!/bin/bash

# This script builds the Docker image to run the PostgreSQL tests, and then runs
# the tests.

set -e

# Build, and tag
docker build docker/ -f docker/Dockerfile-pgtests -t synapsepgtests

# Run, mounting the current directory into /src
docker run --rm -it -v $(pwd)\:/src synapsepgtests