mirror of https://github.com/watcha-fr/synapse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
309 B
12 lines
309 B
#!/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
|
|
|