mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-02 20:02:25 -06:00 
			
		
		
		
	Co-authored-by: Daenney <daenney@users.noreply.github.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			180 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			180 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
# Ensure test args are set.
 | 
						|
ARGS=${@}; [ -z "$ARGS" ] && \
 | 
						|
ARGS='./...'
 | 
						|
 | 
						|
# Run the SQLite tests.
 | 
						|
GTS_DB_TYPE=sqlite \
 | 
						|
GTS_DB_ADDRESS=':memory:' \
 | 
						|
go test ${ARGS} |