Fix windows runner detection, enable concurrency temporarily
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/ci-cd-scripts/playwright-electron.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/ci-cd-scripts/playwright-electron.sh
									
									
									
									
										vendored
									
									
								
							@ -32,7 +32,7 @@ while [[ $retry -le $max_retrys ]]; do
 | 
			
		||||
            echo "run playwright with last failed tests and retry $retry"
 | 
			
		||||
            if [[ "$3" == ubuntu-latest* ]]; then
 | 
			
		||||
                xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu -- --last-failed || true
 | 
			
		||||
            elif [[ "$3" == windows-latest* ]]; then
 | 
			
		||||
            elif [[ "$3" == windows* ]]; then
 | 
			
		||||
                yarn test:playwright:electron:windows -- --last-failed || true
 | 
			
		||||
            elif [[ "$3" == macos-14* ]]; then
 | 
			
		||||
                yarn test:playwright:electron:macos -- --last-failed || true
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/e2e-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/e2e-tests.yml
									
									
									
									
										vendored
									
									
								
							@ -5,9 +5,9 @@ on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [ main ]
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
# concurrency:
 | 
			
		||||
#   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
 | 
			
		||||
#   cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
permissions:
 | 
			
		||||
  contents: write
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user