mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 00:03:16 +00:00
Add a way to run tests in PostgreSQL in Docker (#3699)
This commit is contained in:
1 parent
aeca5a5ed5
commit
741571cf22
8 files changed
+79
-9
No files matched your search
Executable
+12
@@ -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
|
||||
Reference in new issue
Block a user