Fix postgres testing
Looks like github updated their default container, so now it contains postgres and postgres-client by default - we just need to manually launch the installed-but-disabled daemon
This commit is contained in:
		
							parent
							
								
									ad1e52bf05
								
							
						
					
					
						commit
						b3fb923cd1
					
				
							
								
								
									
										2
									
								
								.github/workflows/test_and_publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/test_and_publish.yml
									
									
									
									
										vendored
									
									
								
							| @ -32,7 +32,7 @@ jobs: | |||||||
|       run: | |       run: | | ||||||
|         mkdir -p data/config |         mkdir -p data/config | ||||||
|         if [[ "${{ matrix.database }}" == "pgsql" ]]; then |         if [[ "${{ matrix.database }}" == "pgsql" ]]; then | ||||||
|             sudo apt update && sudo apt-get install -y postgresql postgresql-client ; |             sudo systemctl start postgresql ; | ||||||
|             psql --version ; |             psql --version ; | ||||||
|             sudo -u postgres psql -c "SELECT set_config('log_statement', 'all', false);" -U postgres ; |             sudo -u postgres psql -c "SELECT set_config('log_statement', 'all', false);" -U postgres ; | ||||||
|             sudo -u postgres psql -c "CREATE USER shimmie WITH PASSWORD 'shimmie';" -U postgres ; |             sudo -u postgres psql -c "CREATE USER shimmie WITH PASSWORD 'shimmie';" -U postgres ; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user