mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-11-04 02:01:03 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			301 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 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
 |