add playwright dependencies, try multiline shell command
This commit is contained in:
		
							parent
							
								
									0521655e69
								
							
						
					
					
						commit
						751efe84df
					
				| @ -26,12 +26,20 @@ jobs: | ||||
|         working-directory: ${{runner.workspace}} | ||||
|         run: export PATH="$PATH:/root/.dotnet/tools" && pwd && ls -l && dotnet --info && pwsh --version | ||||
|          | ||||
|       - name: Start Web | ||||
|       - name: Start Web App | ||||
|         shell: bash | ||||
|         working-directory: ${{runner.workspace}} | ||||
|         run: cd MyWebApp && nohup dotnet run & | ||||
| 
 | ||||
|       - name: Build Playwright & Add Dependencies | ||||
|         shell: bash | ||||
|         working-directory: ${{runner.workspace}} | ||||
|         run: export PATH="$PATH:/root/.dotnet/tools" && \ | ||||
|              cd PlaywrightTests && dotnet build && \ | ||||
|              pwsh bin/Debug/net7.0/playwright.ps1 install && \ | ||||
|              pwsh bin/Debug/net7.0/playwright.ps1 install-deps | ||||
|          | ||||
|       - name: Run Playwright Tests | ||||
|         shell: bash | ||||
|         working-directory: ${{runner.workspace}} | ||||
|         run: export PATH="$PATH:/root/.dotnet/tools" && cd PlaywrightTests && dotnet build && pwsh bin/Debug/net7.0/playwright.ps1 install && dotnet test | ||||
|         run:  cd PlaywrightTests && dotnet test | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user