Add a way to run tests in PostgreSQL in Docker (#3699)

This commit is contained in:
Amber Brown authored and GitHub committed 2018-09-20 18:12:45 +10:00
1 parent aeca5a5ed5
commit 741571cf22
8 files changed
+79 -9

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/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