mirror of
https://github.com/element-hq/synapse
synced 2024-08-31 09:20:19 +00:00
12 lines
301 B
Bash
Executable file
12 lines
301 B
Bash
Executable file
#!/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
|