summary refs log blame commit diff
path: root/test_postgresql.sh
blob: c10828fbbcf84a43c451b9e2ca14d42bafdd336c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                   









                                                                                
#!/usr/bin/env 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