Fix windows runner detection, enable concurrency temporarily

This commit is contained in:
Pierre Jacquier
2024-12-13 07:44:13 -05:00
parent 2f79a97e7a
commit f2fa12ad3f
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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