workflows/tests: workaround GitHub Actions python issues.
As-is there's a Python installed but not properly linked which breaks anything that depends on Python being installed on macOS e.g. Subversion.
This commit is contained in:
		
							parent
							
								
									3c8b4949ba
								
							
						
					
					
						commit
						298003b181
					
				
							
								
								
									
										5
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							@ -363,7 +363,10 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: Install brew tests macOS dependencies
 | 
					      - name: Install brew tests macOS dependencies
 | 
				
			||||||
        if: runner.os != 'Linux'
 | 
					        if: runner.os != 'Linux'
 | 
				
			||||||
        run: brew install subversion
 | 
					        run: |
 | 
				
			||||||
 | 
					          # Workaround GitHub Actions Python issues
 | 
				
			||||||
 | 
					          brew unlink python && brew link --overwrite python
 | 
				
			||||||
 | 
					          brew install subversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # brew tests doesn't like world writable directories
 | 
					        # brew tests doesn't like world writable directories
 | 
				
			||||||
      - name: Cleanup permissions
 | 
					      - name: Cleanup permissions
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user